aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-createbuildenv
diff options
context:
space:
mode:
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