summaryrefslogtreecommitdiff
path: root/selfstrap
diff options
context:
space:
mode:
Diffstat (limited to 'selfstrap')
-rwxr-xr-xselfstrap2
1 files changed, 1 insertions, 1 deletions
diff --git a/selfstrap b/selfstrap
index 606c65e..57227ae 100755
--- a/selfstrap
+++ b/selfstrap
@@ -475,8 +475,8 @@ if [ "$REAL_APT_INSTALL" ]; then
475 install_etc_passwd 475 install_etc_passwd
476 476
477 prepare_chroot "$TARGET" 477 prepare_chroot "$TARGET"
478 trap 'cleanup_chroot "$TARGET"' EXIT
478 apt_get install -y $required_packages $EXTRA_PACKAGES 479 apt_get install -y $required_packages $EXTRA_PACKAGES
479 cleanup_chroot "$TARGET"
480else 480else
481 apt_extract $required_packages 481 apt_extract $required_packages
482 apt_extract $EXTRA_PACKAGES 482 apt_extract $EXTRA_PACKAGES