From c2ae78278a7c60610e9281ffc065a2d19277f3f5 Mon Sep 17 00:00:00 2001 From: rillig Date: Sat, 8 Sep 2007 09:58:14 +0000 Subject: 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. --- bootstrap/bootstrap | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'bootstrap') 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} \ -- cgit v1.2.3