summaryrefslogtreecommitdiff
path: root/audio/rplay
diff options
context:
space:
mode:
authorjlam <jlam>2002-02-05 06:04:36 +0000
committerjlam <jlam>2002-02-05 06:04:36 +0000
commit6cae8868e0e29c29b7c54cd11d91ca6896b4e6db (patch)
tree910b301d9e99bea4118f547f996c86cbedac39fc /audio/rplay
parenta760b2de0d07abff5d65eb19eec822836826804c (diff)
downloadpkgsrc-6cae8868e0e29c29b7c54cd11d91ca6896b4e6db.tar.gz
Solaris' test binary (test/[) doesn't grok "-e". Replace with "-f".
Noted by Stoned Elipot <seb@netbsd.org> in private email.
Diffstat (limited to 'audio/rplay')
-rw-r--r--audio/rplay/files/rplayd.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/audio/rplay/files/rplayd.sh b/audio/rplay/files/rplayd.sh
index 933bce055bb..0dbb1bf8536 100644
--- a/audio/rplay/files/rplayd.sh
+++ b/audio/rplay/files/rplayd.sh
@@ -1,11 +1,11 @@
#!/bin/sh
#
-# $NetBSD: rplayd.sh,v 1.4 2001/11/26 07:30:44 jlam Exp $
+# $NetBSD: rplayd.sh,v 1.5 2002/02/05 06:04:36 jlam Exp $
#
# PROVIDE: rplayd
# REQUIRE: DAEMON
-if [ -e /etc/rc.subr ]
+if [ -f /etc/rc.subr ]
then
. /etc/rc.subr
fi
@@ -15,7 +15,7 @@ rcvar=$name
command="@PREFIX@/sbin/${name}"
required_files="@PKG_SYSCONFDIR@/rplay.conf"
-if [ -e /etc/rc.subr ]
+if [ -f /etc/rc.subr ]
then
load_rc_config $name
run_rc_command "$1"