aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-updatebuildenv
diff options
context:
space:
mode:
Diffstat (limited to 'pbuilder-updatebuildenv')
-rwxr-xr-xpbuilder-updatebuildenv3
1 files changed, 1 insertions, 2 deletions
diff --git a/pbuilder-updatebuildenv b/pbuilder-updatebuildenv
index bf89842..8beade5 100755
--- a/pbuilder-updatebuildenv
+++ b/pbuilder-updatebuildenv
@@ -48,7 +48,7 @@ $CHROOTEXEC /usr/bin/apt-get -y --force-yes "${FORCE_CONFNEW[@]}" dist-upgrade
$CHROOTEXEC /usr/bin/apt-get -y --force-yes install build-essential dpkg-dev apt $EXTRAPACKAGES
save_aptcache
-# clean aptcache
+# optionally auto-clean apt-cache
if [ "${AUTOCLEANAPTCACHE}" = "yes" -a -n "$APTCACHE" ]; then
echo " -> Cleaning the cached apt archive"
$CHROOTEXEC /usr/bin/apt-get autoclean || true
@@ -76,4 +76,3 @@ fi
if [ "${PRESERVE_BUILDPLACE}" = "yes" ]; then
trap exit
fi
-