summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorrillig <rillig>2007-09-08 09:58:14 +0000
committerrillig <rillig>2007-09-08 09:58:14 +0000
commit9a8ef6c4845c9c331aba9a77ed4fe5d36aac3436 (patch)
tree24412d9a5904b4af85d4c5dd8068e8eff96fdb97 /bootstrap
parente3dc025536a363ee9566caf49398219036faa4dd (diff)
downloadpkgsrc-9a8ef6c4845c9c331aba9a77ed4fe5d36aac3436.tar.gz
Removed the warning about pkg_add or pkg_delete "not running as root"
completely. It only made the code more bloated, and a user trying to add or delete packages would get lots of "Permission denied" warnings anyway.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap/bootstrap6
1 files changed, 1 insertions, 5 deletions
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap
index cb062f2c3a0..135636fbe86 100755
--- a/bootstrap/bootstrap
+++ b/bootstrap/bootstrap
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: bootstrap,v 1.111 2007/09/07 15:45:14 rillig Exp $
+# $NetBSD: bootstrap,v 1.112 2007/09/08 09:58:14 rillig Exp $
#
#
# Copyright (c) 2001-2002 Alistair G. Crooks. All rights reserved.
@@ -790,10 +790,6 @@ if [ "$need_xargs" = "yes" ]; then
need_extras=yes
fi
-if [ "$ignoreusercheck" = "yes" ]; then
- echo "CPPFLAGS+= -DUNPRIVILEGED" >> ${BOOTSTRAP_MKCONF}
-fi
-
echo_msg "Bootstrapping mk-files"
run_cmd "(cd ${pkgsrcdir}/pkgtools/bootstrap-mk-files/files && env CP=${cpprog} \
OPSYS=${opsys} MK_DST=${wrkdir}/share/mk ROOT_GROUP=${root_group} \