diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | debian/changelog | 3 | ||||
-rwxr-xr-x | pbuilder-updatebuildenv | 1 |
3 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2007-12-18 Loïc Minier <lool@dooz.org> + + * pbuilder-updatebuildenv: Run apt-get autoremove after upgrade. + 2007-12-16 Junichi Uekawa <dancer@debian.org> * examples/B92test-pkg: try to skip package test which do not have any test. diff --git a/debian/changelog b/debian/changelog index 5827964..e04b21d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ pbuilder (0.177) UNRELEASED; urgency=low - * + [ Loic Minier ] + * Run apt-get autoremove after upgrade. -- Junichi Uekawa <dancer@debian.org> Sun, 25 Nov 2007 13:02:11 +0900 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 |