rc.subr: which is not present in Arch Linux boostrapdiff -r1.15 -r1.16 pkgsrc/pkgtools/rc.subr/files/rc.subr
(triaxx)
@@ -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 @@
_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"