diff options
-rwxr-xr-x | 1_makerootfs.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/1_makerootfs.sh b/1_makerootfs.sh index 02f5e0a..82291b4 100755 --- a/1_makerootfs.sh +++ b/1_makerootfs.sh @@ -77,7 +77,14 @@ case "$debootstrap" in ;; cdebootstrap) ./chroot.sh temp apt-get update - ./chroot.sh temp apt-get -y --allow-unauthenticated install aptitude + case "$suite" in + etch|sid) + ./chroot.sh temp apt-get -y --allow-unauthenticated install aptitude + ;; + *) + ./chroot.sh temp apt-get -y install aptitude + ;; + esac ./chroot.sh temp aptitude -y purge cdebootstrap-helper-diverts # Hmm - this next one seems like a bug! rm -rf "$targettemp/var/cache/debootstrap" |