summaryrefslogtreecommitdiff
path: root/pkgtools/pbulk
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-09-22 00:12:33 +0000
committerrillig <rillig@pkgsrc.org>2007-09-22 00:12:33 +0000
commitf252712a10a853d6fbf8424887674ec28736bfc6 (patch)
tree25d4abcc549620ac5e6431b7f2d0ad46ecea3534 /pkgtools/pbulk
parent6deb0aba05f91ae96e72026874b0fe095a0872d5 (diff)
downloadpkgsrc-f252712a10a853d6fbf8424887674ec28736bfc6.tar.gz
Reverted two of my recent changes.
See: http://mail-index.netbsd.org/pkgsrc-changes/2007/09/21/0046.html
Diffstat (limited to 'pkgtools/pbulk')
-rwxr-xr-xpkgtools/pbulk/files/pbulk/scripts/client-clean9
1 files changed, 3 insertions, 6 deletions
diff --git a/pkgtools/pbulk/files/pbulk/scripts/client-clean b/pkgtools/pbulk/files/pbulk/scripts/client-clean
index 997b19bc31e..f218daf1e7d 100755
--- a/pkgtools/pbulk/files/pbulk/scripts/client-clean
+++ b/pkgtools/pbulk/files/pbulk/scripts/client-clean
@@ -1,17 +1,14 @@
#!@SH@
-# $NetBSD: client-clean,v 1.4 2007/09/21 13:42:54 rillig Exp $
+# $NetBSD: client-clean,v 1.5 2007/09/22 00:12:33 rillig Exp $
. @PBULK_CONFIG@
set -e
# Clean build system first
-chmod -R 700 ${prefix} ${pkgdb} ${varbase}/qmail 2> /dev/null || true
rm -rf ${prefix} ${pkgdb} ${varbase}/qmail 2> /dev/null || true
-if [ -d "${prefix}" ]; then
- echo "ERROR: [client-clean] Could not remove $prefix" 1>&2
- exit 1
-fi
+# Note: It is not an error if ${prefix} still exists at this point,
+# because it might be a mount point.
# Install fresh bootstrap state
if [ -f "${bootstrapkit}" ]; then