pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pbulk/files/pbulk/scripts Reverted two of my ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/90abdfe6746b
branches:  trunk
changeset: 533629:90abdfe6746b
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Sep 22 00:12:33 2007 +0000

description:
Reverted two of my recent changes.

See: http://mail-index.netbsd.org/pkgsrc-changes/2007/09/21/0046.html

diffstat:

 pkgtools/pbulk/files/pbulk/scripts/client-clean |  9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diffs (24 lines):

diff -r 3b12f044a30f -r 90abdfe6746b pkgtools/pbulk/files/pbulk/scripts/client-clean
--- a/pkgtools/pbulk/files/pbulk/scripts/client-clean   Fri Sep 21 23:59:30 2007 +0000
+++ b/pkgtools/pbulk/files/pbulk/scripts/client-clean   Sat Sep 22 00:12:33 2007 +0000
@@ -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



Home | Main Index | Thread Index | Old Index