diff options
author | dancer <dancer> | 2004-06-17 00:23:03 +0000 |
---|---|---|
committer | dancer <dancer> | 2004-06-17 00:23:03 +0000 |
commit | c7f7507652785f1f206fdab6a091c487363f061f (patch) | |
tree | 7383b7c8404ee8b756c242e91dd9e2a113c8da3c /pbuilder-updatebuildenv | |
parent | 8117d6d302234d2be186a854e4da92c014a22fdb (diff) | |
download | pbuilder-c7f7507652785f1f206fdab6a091c487363f061f.tar pbuilder-c7f7507652785f1f206fdab6a091c487363f061f.tar.gz |
+ * pbuilder-updatebuildenv: Patch from matt kraai to save
+ apt cache when pbuilder update fails.
+ 252777, 252793
+
Diffstat (limited to 'pbuilder-updatebuildenv')
-rwxr-xr-x | pbuilder-updatebuildenv | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pbuilder-updatebuildenv b/pbuilder-updatebuildenv index 6fcf198..34ea72e 100755 --- a/pbuilder-updatebuildenv +++ b/pbuilder-updatebuildenv @@ -43,9 +43,11 @@ if [ -n "$REMOVEPACKAGES" ]; then fi recover_aptcache +$TRAP saveaptcache_umountproc_cleanbuildplace exit $CHROOTEXEC /usr/bin/apt-get -y "${FORCE_CONFNEW[@]}" dist-upgrade $CHROOTEXEC /usr/bin/apt-get -y install build-essential dpkg-dev apt $EXTRAPACKAGES save_aptcache +$TRAP umountproc_cleanbuildplace exit $CHROOTEXEC /usr/bin/apt-get clean || true executehooks "E" |