pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Update the sudo-instructions so it even works when upg...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d41cde0d9c5e
branches:  trunk
changeset: 480685:d41cde0d9c5e
user:      hubertf <hubertf%pkgsrc.org@localhost>
date:      Sun Sep 19 20:13:26 2004 +0000

description:
Update the sudo-instructions so it even works when upgrading sudo
(when there is no sudo binary temporarily!)

diffstat:

 Packages.txt |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 692e698bc87c -r d41cde0d9c5e Packages.txt
--- a/Packages.txt      Sun Sep 19 19:51:04 2004 +0000
+++ b/Packages.txt      Sun Sep 19 20:13:26 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Packages.txt,v 1.358 2004/09/15 20:18:26 minskim Exp $
+# $NetBSD: Packages.txt,v 1.359 2004/09/19 20:13:26 hubertf Exp $
 ###########################################################################
 
                        ==========================
@@ -3014,7 +3014,9 @@
 To use it, install sudo (either as binary package or from
 pkgsrc/security/sudo) and then put the following into your /etc/mk.conf:
 
+       .if exists(/usr/pkg/bin/sudo)
        SU_CMD=/usr/pkg/bin/sudo /bin/sh -c
+       .endif
 
 
  11.31 Packages that cannot or should not be built



Home | Main Index | Thread Index | Old Index