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 /pbuilder-updatebuildenv | |
parent | 72d2bbeab8cf55569e9a86d8867a2297c677ee6a (diff) | |
download | pbuilder-69f82a2bd43829e111799d53e134b25608c54520.tar pbuilder-69f82a2bd43829e111799d53e134b25608c54520.tar.gz |
* Run apt-get autoremove after upgrade.
Diffstat (limited to 'pbuilder-updatebuildenv')
-rwxr-xr-x | pbuilder-updatebuildenv | 1 |
1 files changed, 1 insertions, 0 deletions
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 |