aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-createbuildenv
diff options
context:
space:
mode:
authordancer <dancer>2006-02-12 04:41:15 +0000
committerdancer <dancer>2006-02-12 04:41:15 +0000
commitce2123bff9f28652c3156901925dafc542a93680 (patch)
treeeb7dbca6185c0fa0de31748a0b2a4a9275067ec0 /pbuilder-createbuildenv
parentaef4a20ef6adfa1728d0a7de7d9f3ddd850ccd77 (diff)
downloadpbuilder-ce2123bff9f28652c3156901925dafc542a93680.tar
pbuilder-ce2123bff9f28652c3156901925dafc542a93680.tar.gz
preliminary support for bind-mounted apt cache directory.
Diffstat (limited to 'pbuilder-createbuildenv')
-rwxr-xr-xpbuilder-createbuildenv4
1 files changed, 2 insertions, 2 deletions
diff --git a/pbuilder-createbuildenv b/pbuilder-createbuildenv
index e387043..13307a7 100755
--- a/pbuilder-createbuildenv
+++ b/pbuilder-createbuildenv
@@ -90,12 +90,12 @@ recover_aptcache
$CHROOTEXEC /usr/bin/apt-get -y --force-yes dist-upgrade
$CHROOTEXEC /usr/bin/apt-get -y --force-yes install build-essential dpkg-dev apt $EXTRAPACKAGES
save_aptcache
-$CHROOTEXEC /usr/bin/apt-get clean
executehooks "E"
unloadhooks
-
umountproc
+$CHROOTEXEC /usr/bin/apt-get clean || true
+
$TRAP cleanbuildplace exit
# Internal_build_uml is set when --no-targz is set, this code is actually never called from pbuilder-user-mode-linux