summaryrefslogtreecommitdiff
path: root/print/cups/files
diff options
context:
space:
mode:
authorjlam <jlam>2002-02-05 06:04:36 +0000
committerjlam <jlam>2002-02-05 06:04:36 +0000
commit4439373ee4f9c486f6da66c6ea41514f0f01f480 (patch)
tree910b301d9e99bea4118f547f996c86cbedac39fc /print/cups/files
parent4780e284a6f50549d7913ba2934fd612787266da (diff)
downloadpkgsrc-4439373ee4f9c486f6da66c6ea41514f0f01f480.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 'print/cups/files')
-rw-r--r--print/cups/files/cupsd.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/print/cups/files/cupsd.sh b/print/cups/files/cupsd.sh
index 0fd5089ad80..b7052cccfec 100644
--- a/print/cups/files/cupsd.sh
+++ b/print/cups/files/cupsd.sh
@@ -1,13 +1,13 @@
#! /bin/sh
#
-# $NetBSD: cupsd.sh,v 1.8 2001/11/26 07:34:05 jlam Exp $
+# $NetBSD: cupsd.sh,v 1.9 2002/02/05 06:04:40 jlam Exp $
#
# Common UNIX Printing System daemon
#
# PROVIDE: cupsd
# REQUIRE: DAEMON
-if [ -e /etc/rc.subr ]
+if [ -f /etc/rc.subr ]
then
. /etc/rc.subr
fi
@@ -18,7 +18,7 @@ command="@PREFIX@/sbin/${name}"
required_files="@PKG_SYSCONFDIR@/cups/${name}.conf"
extra_commands="reload"
-if [ -e /etc/rc.subr ]
+if [ -f /etc/rc.subr ]
then
load_rc_config $name
run_rc_command "$1"