[57900] trunk/dports/www/phpmyadmin/Portfile

alakazam at macports.org alakazam at macports.org
Fri Sep 18 09:01:35 PDT 2009


Revision: 57900
          http://trac.macports.org/changeset/57900
Author:   alakazam at macports.org
Date:     2009-09-18 09:01:34 -0700 (Fri, 18 Sep 2009)
Log Message:
-----------
Fix phpmyadmin portfile : configuration files should be created in the post-activate phase, not the destroot phase.

Modified Paths:
--------------
    trunk/dports/www/phpmyadmin/Portfile

Modified: trunk/dports/www/phpmyadmin/Portfile
===================================================================
--- trunk/dports/www/phpmyadmin/Portfile	2009-09-18 15:57:13 UTC (rev 57899)
+++ trunk/dports/www/phpmyadmin/Portfile	2009-09-18 16:01:34 UTC (rev 57900)
@@ -44,7 +44,9 @@
     eval copy [glob ${worksrcpath}/*] ${docroot}
     
     ln -s ${configfile} ${docroot}/config.inc.php
-    
+}
+
+post-activate {    
     if {![file exists ${configfile}]} {
         xinstall -m 644 ${worksrcpath}/config.sample.inc.php ${configfile}
         
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090918/cce21229/attachment.html>


More information about the macports-changes mailing list