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 /mail/courier-auth | |
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 'mail/courier-auth')
-rw-r--r-- | mail/courier-auth/files/authdaemond.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/courier-auth/files/authdaemond.sh b/mail/courier-auth/files/authdaemond.sh index 4f373ff67df..f5e0798b431 100644 --- a/mail/courier-auth/files/authdaemond.sh +++ b/mail/courier-auth/files/authdaemond.sh @@ -1,13 +1,13 @@ #! /bin/sh # -# $NetBSD: authdaemond.sh,v 1.2 2002/01/27 00:04:41 jlam Exp $ +# $NetBSD: authdaemond.sh,v 1.3 2002/02/05 06:04:37 jlam Exp $ # # Courier user authentication daemon # # PROVIDE: authdaemond # REQUIRE: DAEMON -if [ -e /etc/rc.subr ] +if [ -f /etc/rc.subr ] then . /etc/rc.subr fi @@ -51,7 +51,7 @@ courier_doit() @SETENV@ - ${daemon} ${action} } -if [ -e /etc/rc.subr ] +if [ -f /etc/rc.subr ] then load_rc_config $name run_rc_command "$1" |