From 9688b22bc39f3bff45dc1b0965fc0ad9e4260752 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Tue, 13 Oct 2015 18:02:46 +0000 Subject: always load hooks just after extracting the build place, and unload them when cleaning up So, no need to load&run&unload everywhere as it is now. Gbp-Dch: Short --- pbuilder-updatebuildenv | 2 -- 1 file changed, 2 deletions(-) (limited to 'pbuilder-updatebuildenv') diff --git a/pbuilder-updatebuildenv b/pbuilder-updatebuildenv index df5014e..f745cf4 100755 --- a/pbuilder-updatebuildenv +++ b/pbuilder-updatebuildenv @@ -36,7 +36,6 @@ echobacktime extractbuildplace $TRAP umountproc_cleanbuildplace_trap exit sighup -loadhooks log "I: Refreshing the base.tgz " log "I: upgrading packages" $CHROOTEXEC /usr/bin/apt-get -q update @@ -120,7 +119,6 @@ fi $TRAP umountproc_cleanbuildplace_trap exit sighup executehooks "E" -unloadhooks umountproc $CHROOTEXEC /usr/bin/apt-get clean || true -- cgit v1.2.3