summaryrefslogtreecommitdiff
path: root/mail/courier-auth
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 /mail/courier-auth
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 'mail/courier-auth')
-rw-r--r--mail/courier-auth/files/authdaemond.sh6
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"