aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoïc Minier <lool@dooz.org>2007-12-18 11:31:50 +0100
committerLoïc Minier <lool@dooz.org>2007-12-18 11:31:50 +0100
commit69f82a2bd43829e111799d53e134b25608c54520 (patch)
tree2226cbd071e75bb3bc7e03c7d9e7c1c7189f8c24
parent72d2bbeab8cf55569e9a86d8867a2297c677ee6a (diff)
downloadpbuilder-69f82a2bd43829e111799d53e134b25608c54520.tar
pbuilder-69f82a2bd43829e111799d53e134b25608c54520.tar.gz
* Run apt-get autoremove after upgrade.
-rw-r--r--ChangeLog4
-rw-r--r--debian/changelog3
-rwxr-xr-xpbuilder-updatebuildenv1
3 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 353c7e4..c1ca4fe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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