pkgsrc-Changes archive

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

CVS commit: pkgsrc/pkgtools/rc.subr/files



Module Name:    pkgsrc
Committed By:   triaxx
Date:           Fri Oct 11 11:56:07 UTC 2019

Modified Files:
        pkgsrc/pkgtools/rc.subr/files: rc.subr

Log Message:
rc.subr: which is not present in Arch Linux boostrap


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/pkgtools/rc.subr/files/rc.subr

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/pkgtools/rc.subr/files/rc.subr
diff -u pkgsrc/pkgtools/rc.subr/files/rc.subr:1.15 pkgsrc/pkgtools/rc.subr/files/rc.subr:1.16
--- pkgsrc/pkgtools/rc.subr/files/rc.subr:1.15  Wed Dec 26 00:29:07 2018
+++ pkgsrc/pkgtools/rc.subr/files/rc.subr       Fri Oct 11 11:56:06 2019
@@ -1,4 +1,4 @@
-# $NetBSD: rc.subr,v 1.15 2018/12/26 00:29:07 schmonz Exp $
+# $NetBSD: rc.subr,v 1.16 2019/10/11 11:56:06 triaxx Exp $
 #
 # Copyright (c) 1997-2002 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -125,7 +125,9 @@ case $_osname in
                _RCCMD_chown="/bin/chown"
 #              _RCCMD_ci="/usr/bin/ci"                 # not in Slackware 8.1
 #              _RCCMD_co="/usr/bin/co"                 # not in Slackware 8.1
-               _RCCMD_nice=$(which nice)
+               if [ ! -f /etc/arch-release ] ; then    # which not in Arch
+                       _RCCMD_nice=$(which nice)
+               fi
 #              _RCCMD_rcs="/usr/bin/rcs"               # not in Slackware 8.1
 #              _RCCMD_systrace="/bin/systrace"         # not in Slackware 8.1
                _RCARG_ps="ax"



Home | Main Index | Thread Index | Old Index