[86380] trunk/dports/mail/postfix/Portfile
jmr at macports.org
jmr at macports.org
Mon Oct 24 17:33:05 PDT 2011
Revision: 86380
http://trac.macports.org/changeset/86380
Author: jmr at macports.org
Date: 2011-10-24 17:33:03 -0700 (Mon, 24 Oct 2011)
Log Message:
-----------
postfix: move chown command incorrectly added in pre-install in r41192 (#31754)
Revision Links:
--------------
http://trac.macports.org/changeset/41192
Modified Paths:
--------------
trunk/dports/mail/postfix/Portfile
Modified: trunk/dports/mail/postfix/Portfile
===================================================================
--- trunk/dports/mail/postfix/Portfile 2011-10-24 23:35:20 UTC (rev 86379)
+++ trunk/dports/mail/postfix/Portfile 2011-10-25 00:33:03 UTC (rev 86380)
@@ -115,14 +115,16 @@
move ${destroot}${prefix}/etc/postfix/${f} \
${destroot}${prefix}/etc/postfix/${f}.sample
}
-}
-pre-install {
if {[geteuid] == 0} {
system "chown -R ${pf_mail_owner} \
'${destroot}${prefix}/var/spool/postfix/public' \
'${destroot}${prefix}/var/lib/postfix'"
- } else {
+ }
+}
+
+pre-install {
+ if {[geteuid] != 0} {
ui_msg "Insufficient privileges to chown files; you'll need to do this manually:"
ui_msg "sudo chown -R ${pf_mail_owner} ${prefix}/var/spool/postfix/public ${prefix}/var/lib/postfix"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111024/50441a29/attachment.html>
More information about the macports-changes
mailing list