pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/rc.subr/files rc.subr: which is not present i...
details: https://anonhg.NetBSD.org/pkgsrc/rev/bf725f16a015
branches: trunk
changeset: 341977:bf725f16a015
user: triaxx <triaxx%pkgsrc.org@localhost>
date: Fri Oct 11 11:56:06 2019 +0000
description:
rc.subr: which is not present in Arch Linux boostrap
diffstat:
pkgtools/rc.subr/files/rc.subr | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r c0faf13c39bf -r bf725f16a015 pkgtools/rc.subr/files/rc.subr
--- a/pkgtools/rc.subr/files/rc.subr Fri Oct 11 10:57:33 2019 +0000
+++ b/pkgtools/rc.subr/files/rc.subr Fri Oct 11 11:56:06 2019 +0000
@@ -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"
Home |
Main Index |
Thread Index |
Old Index