aboutsummaryrefslogtreecommitdiff
path: root/mail/postfix28
diff options
context:
space:
mode:
authorSahil Tandon <sahil@FreeBSD.org>2012-02-11 21:27:57 +0000
committerSahil Tandon <sahil@FreeBSD.org>2012-02-11 21:27:57 +0000
commit894bf93f4073ca5c4aa1a5d43ca86e57ad3a0a5e (patch)
tree73607c3dc71ad6d7d7e7e1566222060132c84ad3 /mail/postfix28
parent33678047c6bee11fa9c27d7c71f212605fdfd6c5 (diff)
downloadports-894bf93f4073ca5c4aa1a5d43ca86e57ad3a0a5e.tar.gz
ports-894bf93f4073ca5c4aa1a5d43ca86e57ad3a0a5e.zip
Notes
Diffstat (limited to 'mail/postfix28')
-rw-r--r--mail/postfix28/files/pkg-install.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/postfix28/files/pkg-install.in b/mail/postfix28/files/pkg-install.in
index 5a2f34911cb9..91011cc3301a 100644
--- a/mail/postfix28/files/pkg-install.in
+++ b/mail/postfix28/files/pkg-install.in
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/mail/postfix28/files/pkg-install.in,v 1.6 2012-02-07 01:41:44 sahil Exp $
+# $FreeBSD: /tmp/pcvs/ports/mail/postfix28/files/pkg-install.in,v 1.7 2012-02-11 21:27:57 sahil Exp $
#
# If the POSTFIX_DEFAULT_MTA environment variable is set to YES, it
@@ -74,7 +74,7 @@ if [ "$2" = "POST-INSTALL" ]; then
fi
-if [ "$2" = "POST-INSTALL" -a -z "${PACKAGE_BUILDING}" ]; then
+if [ "$2" = "POST-INSTALL" -a -z "${PACKAGE_BUILDING}" -a -f "${MC}" ]; then
egrep -q "^sendmail.*${PREFIX}/sbin/sendmail" ${MC} && \
egrep -q "^send-mail.*${PREFIX}/sbin/sendmail" ${MC} && \
egrep -q "^mailq.*${PREFIX}/sbin/sendmail" ${MC} && \