diff options
author | dancer <dancer> | 2002-02-24 07:57:06 +0000 |
---|---|---|
committer | dancer <dancer> | 2002-02-24 07:57:06 +0000 |
commit | 18651eedb6cc79c55aeaf3c86d57d93feeb7f58e (patch) | |
tree | dadaac67ef53d6bc43c08cb9f9c9a1e4cfd1b544 /pbuilder-updatebuildenv | |
parent | d452345203ac424265b65fb905a517f471dafd91 (diff) | |
download | pbuilder-18651eedb6cc79c55aeaf3c86d57d93feeb7f58e.tar pbuilder-18651eedb6cc79c55aeaf3c86d57d93feeb7f58e.tar.gz |
added hooks support for pbuilder build target.
Diffstat (limited to 'pbuilder-updatebuildenv')
-rwxr-xr-x | pbuilder-updatebuildenv | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/pbuilder-updatebuildenv b/pbuilder-updatebuildenv index c081b5e..b020254 100755 --- a/pbuilder-updatebuildenv +++ b/pbuilder-updatebuildenv @@ -29,9 +29,7 @@ test -n "$DISTRIBUTION" && echo "Upgrading for distribution $DISTRIBUTION" extractbuildplace trap umountproc_cleanbuildplace exit -if [ -n "$HOOKDIR" ]; then - loadhooks -fi +loadhooks echo "Refreshing the base.tgz " echo " -> upgrading packages" $CHROOTEXEC /usr/bin/apt-get update @@ -44,10 +42,9 @@ $CHROOTEXEC /usr/bin/apt-get -y install build-essential dpkg-dev apt $EXTRAPACKA save_aptcache $CHROOTEXEC /usr/bin/apt-get clean || true -if [ -n "$HOOKDIR" ]; then - executehooks "X" - unloadhooks -fi +executehooks "X" +unloadhooks + umountproc trap cleanbuildplace exit echo " -> creating base.tgz" |