[32678] trunk/dports/net/nagios/Portfile

markd at macports.org markd at macports.org
Thu Jan 10 13:49:32 PST 2008


Revision: 32678
          http://trac.macosforge.org/projects/macports/changeset/32678
Author:   markd at macports.org
Date:     2008-01-10 13:49:30 -0800 (Thu, 10 Jan 2008)

Log Message:
-----------
Remove redundant reinplace.

Modified Paths:
--------------
    trunk/dports/net/nagios/Portfile

Modified: trunk/dports/net/nagios/Portfile
===================================================================
--- trunk/dports/net/nagios/Portfile	2008-01-10 21:21:43 UTC (rev 32677)
+++ trunk/dports/net/nagios/Portfile	2008-01-10 21:49:30 UTC (rev 32678)
@@ -77,6 +77,7 @@
 }
 
 post-destroot {
+# Point the commands.cfg to the correct location for Apple's mail executable
 	reinplace "s|/bin/mail|/usr/bin/mail|g" \
 		"${destroot}${sysconfdir}/commands.cfg"
 
@@ -87,9 +88,6 @@
 	foreach cfgfile [glob ${destroot}${sysconfdir}/*.cfg] {
 		file rename ${cfgfile} ${cfgfile}-sample
 	}
-	reinplace "s|/bin/mail|/usr/bin/mail|g" \
-		"${destroot}${sysconfdir}/commands.cfg-sample"
-
 }
 
 post-activate {

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080110/c58065cb/attachment.html


More information about the macports-changes mailing list