diff options
author | Loïc Minier <lool@dooz.org> | 2007-12-18 11:31:50 +0100 |
---|---|---|
committer | Loïc Minier <lool@dooz.org> | 2007-12-18 11:31:50 +0100 |
commit | 69f82a2bd43829e111799d53e134b25608c54520 (patch) | |
tree | 2226cbd071e75bb3bc7e03c7d9e7c1c7189f8c24 | |
parent | 72d2bbeab8cf55569e9a86d8867a2297c677ee6a (diff) | |
download | pbuilder-69f82a2bd43829e111799d53e134b25608c54520.tar pbuilder-69f82a2bd43829e111799d53e134b25608c54520.tar.gz |
* Run apt-get autoremove after upgrade.
-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 |