diff options
author | dancer <dancer> | 2001-09-27 09:16:34 +0000 |
---|---|---|
committer | dancer <dancer> | 2001-09-27 09:16:34 +0000 |
commit | a72b81c39554ad8b0668cadc3c6d9702db8cfc57 (patch) | |
tree | 097fab4c6b1d5f246ff9ac5867a3571cdbfc516a /pbuilder-updatebuildenv | |
parent | 82dd0cb4d1f21b4fd7ac7d9e4d2a7088eb36494c (diff) | |
download | pbuilder-a72b81c39554ad8b0668cadc3c6d9702db8cfc57.tar pbuilder-a72b81c39554ad8b0668cadc3c6d9702db8cfc57.tar.gz |
fixing some serious typos .
Diffstat (limited to 'pbuilder-updatebuildenv')
-rwxr-xr-x | pbuilder-updatebuildenv | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/pbuilder-updatebuildenv b/pbuilder-updatebuildenv index 3a59098..7031931 100755 --- a/pbuilder-updatebuildenv +++ b/pbuilder-updatebuildenv @@ -9,7 +9,9 @@ test -n "$DISTRIBUTION" && echo "Upgrading for distribution $DISTRIBUTION" extractbuildplace -test -n "HOOKDIR" && loadhooks +if [ -n "$HOOKDIR" ]; then + loadhooks +fi echo "Refreshing the base.tgz " echo " -> upgrading packages" $CHROOTEXEC /usr/bin/apt-get update @@ -17,8 +19,12 @@ $CHROOTEXEC /usr/bin/dpkg --purge lilo $CHROOTEXEC /usr/bin/apt-get -y dist-upgrade $CHROOTEXEC /usr/bin/apt-get -y install build-essential dpkg-dev apt $EXTRAPACKAGES $CHROOTEXEC /usr/bin/apt-get clean -test -n "HOOKDIR" && executehooks -test -n "HOOKDIR" && unloadhooks "X" + +if [ -n "$HOOKDIR" ]; then + executehooks + unloadhooks "X" +fi + umountproc echo " -> creating base.tgz" (cd "$BUILDPLACE"; tar cfz "$BASETGZ" *) |