[evolvis-commits] r16606: Fix path and passwd ?==?UTF-8?Q?↵

mirabilos at evolvis.org mirabilos at evolvis.org
Tue Mar 1 01:27:36 CET 2011


Author: mirabilos
Date: 2011-03-01 01:27:35 +0100 (Tue, 01 Mar 2011)
New Revision: 16606

Modified:
   trunk/gforge_base/evolvisforge-5.1/plugins/coclico/mailman/debian/dsf-in/plugin-mailman.postinst
   trunk/gforge_base/evolvisforge-5.1/src/common/include/env.inc.php
Log:
Fix path and passwd 


Modified: trunk/gforge_base/evolvisforge-5.1/plugins/coclico/mailman/debian/dsf-in/plugin-mailman.postinst
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/plugins/coclico/mailman/debian/dsf-in/plugin-mailman.postinst	2011-03-01 00:27:33 UTC (rev 16605)
+++ trunk/gforge_base/evolvisforge-5.1/plugins/coclico/mailman/debian/dsf-in/plugin-mailman.postinst	2011-03-01 00:27:35 UTC (rev 16606)
@@ -22,6 +22,8 @@
 #     so that unnecessary prompting doesn't happen if a package's
 #     installation fails and the `postinst' is called with `abort-upgrade',
 #     `abort-remove' or `abort-deconfigure'.
+PATH=/usr/share/gforge/bin:/usr/share/fusionforge/bin:$PATH
+export PATH
 
 case "$1" in
     configure)
@@ -30,7 +32,7 @@
 	chgrp list /var/lib/mailman/lists/extend.py 
 	/usr/share/@OLDPACKAGE@/plugins/mailman/bin/db-upgrade.pl
 	getent group www-data | grep -q list || adduser list www-data
-	[ -d /var/lib/mailman/lists/mailman/ ] || /usr/sbin/newlist -q mailman postmaster@`hostname -f` `grep admin_password /etc/gforge/gforge.conf | cut -d= -f2`
+	[ -d /var/lib/mailman/lists/mailman/ ] || /usr/sbin/newlist -q mailman postmaster@`hostname -f` `forge_get_config database_password`
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)

Modified: trunk/gforge_base/evolvisforge-5.1/src/common/include/env.inc.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/common/include/env.inc.php	2011-03-01 00:27:33 UTC (rev 16605)
+++ trunk/gforge_base/evolvisforge-5.1/src/common/include/env.inc.php	2011-03-01 00:27:35 UTC (rev 16606)
@@ -14,6 +14,7 @@
 		"$fusionforge_basedir/common", "$fusionforge_basedir/www",
 		"$fusionforge_basedir/plugins", "$fusionforge_basedir",
 		"$fusionforge_basedir/www/include",
+		"$fusionforge_basedir/common/include",
 		"/usr/share/php","/usr/share/pear"));
 
 // By default, the include_path is changed to include path needed by Gforge.



More information about the evolvis-commits mailing list