diff options
author | jlam <jlam> | 2002-02-05 06:04:36 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-02-05 06:04:36 +0000 |
commit | 6cae8868e0e29c29b7c54cd11d91ca6896b4e6db (patch) | |
tree | 910b301d9e99bea4118f547f996c86cbedac39fc /print/cups/files | |
parent | a760b2de0d07abff5d65eb19eec822836826804c (diff) | |
download | pkgsrc-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 'print/cups/files')
-rw-r--r-- | print/cups/files/cupsd.sh | 6 |
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" |