diff options
author | jlam <jlam@pkgsrc.org> | 2002-02-05 06:04:36 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-02-05 06:04:36 +0000 |
commit | e0d358778b0df3dd6eda22a878f91c1517d291dd (patch) | |
tree | 910b301d9e99bea4118f547f996c86cbedac39fc /www/thttpd/files | |
parent | d0529c736bda8009b0db6b89eaea48137d0c92ec (diff) | |
download | pkgsrc-e0d358778b0df3dd6eda22a878f91c1517d291dd.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 'www/thttpd/files')
-rw-r--r-- | www/thttpd/files/thttpd.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/www/thttpd/files/thttpd.sh b/www/thttpd/files/thttpd.sh index cb2a13f612f..bd5fb502b4e 100644 --- a/www/thttpd/files/thttpd.sh +++ b/www/thttpd/files/thttpd.sh @@ -1,11 +1,11 @@ #!/bin/sh # -# $NetBSD: thttpd.sh,v 1.7 2001/11/26 07:34:08 jlam Exp $ +# $NetBSD: thttpd.sh,v 1.8 2002/02/05 06:04:43 jlam Exp $ # # PROVIDE: thttpd # REQUIRE: DAEMON -if [ -e /etc/rc.subr ] +if [ -f /etc/rc.subr ] then . /etc/rc.subr fi @@ -16,7 +16,7 @@ command=@PREFIX@/sbin/${name} command_args="-C @PKG_SYSCONFDIR@/${name}.conf" required_files="@PKG_SYSCONFDIR@/${name}.conf" -if [ -e /etc/rc.subr ] +if [ -f /etc/rc.subr ] then load_rc_config $name run_rc_command "$1" |