From 69f82a2bd43829e111799d53e134b25608c54520 Mon Sep 17 00:00:00 2001 From: Loïc Minier Date: Tue, 18 Dec 2007 11:31:50 +0100 Subject: * Run apt-get autoremove after upgrade. --- pbuilder-updatebuildenv | 1 + 1 file changed, 1 insertion(+) (limited to 'pbuilder-updatebuildenv') diff --git a/pbuilder-updatebuildenv b/pbuilder-updatebuildenv index 88c8f62..c515ba0 100755 --- a/pbuilder-updatebuildenv +++ b/pbuilder-updatebuildenv @@ -38,6 +38,7 @@ loadhooks echo "Refreshing the base.tgz " echo " -> upgrading packages" $CHROOTEXEC /usr/bin/apt-get update +$CHROOTEXEC /usr/bin/apt-get -y autoremove || true if [ -n "$REMOVEPACKAGES" ]; then $CHROOTEXEC /usr/bin/dpkg --purge $REMOVEPACKAGES fi -- cgit v1.2.3