pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/postfix/files Compute the value of spooletcdir at...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9d10d42a70bc
branches:  trunk
changeset: 478180:9d10d42a70bc
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Mon Jul 19 04:51:07 2004 +0000

description:
Compute the value of spooletcdir at run-time rather than hardcoding it.

diffstat:

 mail/postfix/files/postfix.sh |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 40c72ca93eab -r 9d10d42a70bc mail/postfix/files/postfix.sh
--- a/mail/postfix/files/postfix.sh     Mon Jul 19 04:08:13 2004 +0000
+++ b/mail/postfix/files/postfix.sh     Mon Jul 19 04:51:07 2004 +0000
@@ -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 @@
 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()



Home | Main Index | Thread Index | Old Index