Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

GRMLBASE/98-clean-chroot: do not execute apt-get update

There should be no point in running the apt-get update
command at this place.
  • Loading branch information...
commit 12ae9f00e643824c3b28af0f5895d193867048fc 1 parent 7b90d41
@mika mika authored
Showing with 0 additions and 9 deletions.
  1. +0 −9 etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot
View
9 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
Please sign in to comment.
Something went wrong with that request. Please try again.