X-Git-Url: http://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRMLBASE%2F98-clean-chroot;fp=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRMLBASE%2F98-clean-chroot;h=8b3a8bf8d98e09b6b56dc34908026877e88014cf;hp=19464a2dd8c93200484d5f16fa8e93c2bf389e0a;hb=12ae9f00e643824c3b28af0f5895d193867048fc;hpb=7b90d41d6f40211c06059888570b99a56a418ee8 diff --git a/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot b/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot index 19464a2..8b3a8bf 100755 --- a/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot +++ b/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot @@ -49,15 +49,6 @@ if grep -q 'updatebase.GRMLBASE' ${target}/etc/udev/kernel-upgrade 2>/dev/null ; $ROOTCMD rm -f /etc/udev/kernel-upgrade fi -set +u -if ifclass RELEASE ; then -set -u - echo "Not updating package list as RELEASE class is set." -else - echo "Updating package list" - $ROOTCMD apt-get update -fi - echo "Cleaning apt places" $ROOTCMD apt-get check 2>/dev/null $ROOTCMD dpkg --clear-avail