[89325] trunk/dports/net/munin/Portfile

jmr at macports.org jmr at macports.org
Tue Jan 24 21:52:19 PST 2012


Revision: 89325
          http://trac.macports.org/changeset/89325
Author:   jmr at macports.org
Date:     2012-01-24 21:52:16 -0800 (Tue, 24 Jan 2012)
Log Message:
-----------
munin: munin.conf is only installed with +server, so don't try renaming it without

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

Modified: trunk/dports/net/munin/Portfile
===================================================================
--- trunk/dports/net/munin/Portfile	2012-01-25 05:43:50 UTC (rev 89324)
+++ trunk/dports/net/munin/Portfile	2012-01-25 05:52:16 UTC (rev 89325)
@@ -103,12 +103,12 @@
 post-destroot {
     # Rename config files so port upgrades don't overwrite installed versions of these
     file rename ${destroot}${prefix}/etc/munin/munin-node.conf ${destroot}${prefix}/etc/munin/munin-node.conf.sample
-    file rename ${destroot}${prefix}/etc/munin/munin.conf ${destroot}${prefix}/etc/munin/munin.conf.sample
 
     # State directory should be owned by munin
     xinstall -d -o munin ${destroot}${prefix}/var/run/munin
 
     if { [variant_isset server] } {
+        file rename ${destroot}${prefix}/etc/munin/munin.conf ${destroot}${prefix}/etc/munin/munin.conf.sample
         # Create and symlink launchd item for munin-cron
         xinstall -d ${destroot}${prefix}/etc/LaunchDaemons/org.macports.munin-cron
         file copy ${portpath}/files/org.macports.munin-cron.plist.in \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120124/1a3c801c/attachment.html>


More information about the macports-changes mailing list