diff options
author | rillig <rillig@pkgsrc.org> | 2007-09-08 09:58:14 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-09-08 09:58:14 +0000 |
commit | c2ae78278a7c60610e9281ffc065a2d19277f3f5 (patch) | |
tree | 24412d9a5904b4af85d4c5dd8068e8eff96fdb97 /bootstrap | |
parent | fc9adf3f1a8101a23cf90cb261357684b32fc9da (diff) | |
download | pkgsrc-c2ae78278a7c60610e9281ffc065a2d19277f3f5.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-x | bootstrap/bootstrap | 6 |
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} \ |