summaryrefslogtreecommitdiff
path: root/mail/postfix
diff options
context:
space:
mode:
authorjlam <jlam>2004-07-19 04:51:07 +0000
committerjlam <jlam>2004-07-19 04:51:07 +0000
commit4da104d1643388200c205a254d04419feb27de70 (patch)
tree1ef0e3d58e361add060f698492da11b5a5d6ad9d /mail/postfix
parenta07e9116b96e7a32c0dcbe68c0d3221dc540a4eb (diff)
downloadpkgsrc-4da104d1643388200c205a254d04419feb27de70.tar.gz
Compute the value of spooletcdir at run-time rather than hardcoding it.
Diffstat (limited to 'mail/postfix')
-rw-r--r--mail/postfix/files/postfix.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/postfix/files/postfix.sh b/mail/postfix/files/postfix.sh
index 312a00a1d2c..46a49eae606 100644
--- a/mail/postfix/files/postfix.sh
+++ b/mail/postfix/files/postfix.sh
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: postfix.sh,v 1.2 2004/07/18 23:42:48 jlam Exp $
+# $NetBSD: postfix.sh,v 1.3 2004/07/19 04:51:07 jlam Exp $
#
# PROVIDE: mail
@@ -18,7 +18,7 @@ start_cmd="${name} "'${rc_arg}'
stop_cmd=$start_cmd
reload_cmd=$start_cmd
extra_commands="reload"
-spooletcdir="@POSTFIX_SPOOL@/etc"
+: ${spooletcdir=`@PREFIX@/sbin/postconf -h queue_directory`/etc}
required_dirs=$spooletcdir
postfix_precmd()