[Fusionforge-commits] r11444 - in trunk/src/plugins: forumml/bin forumml/debian/dsf-in mailman/bin mailman/debian/dsf-in

Christian Bayle cbayle at libremir.placard.fr.eu.org
Sun Nov 7 00:50:58 CET 2010


Author: cbayle
Date: 2010-11-07 00:50:58 +0100 (Sun, 07 Nov 2010)
New Revision: 11444

Added:
   trunk/src/plugins/forumml/bin/install.sh
   trunk/src/plugins/mailman/bin/install.sh
Modified:
   trunk/src/plugins/forumml/debian/dsf-in/plugin-forumml.postinst
   trunk/src/plugins/mailman/debian/dsf-in/plugin-mailman.postinst
Log:
Homogenize plugin


Added: trunk/src/plugins/forumml/bin/install.sh
===================================================================
--- trunk/src/plugins/forumml/bin/install.sh	                        (rev 0)
+++ trunk/src/plugins/forumml/bin/install.sh	2010-11-06 23:50:58 UTC (rev 11444)
@@ -0,0 +1,3 @@
+#! /bin/sh
+/usr/share/gforge/plugins/forumml/bin/installFF.sh
+/usr/share/gforge/plugins/forumml/bin/ml_arch_2_DBFF.pl


Property changes on: trunk/src/plugins/forumml/bin/install.sh
___________________________________________________________________
Added: svn:executable
   + *

Modified: trunk/src/plugins/forumml/debian/dsf-in/plugin-forumml.postinst
===================================================================
--- trunk/src/plugins/forumml/debian/dsf-in/plugin-forumml.postinst	2010-11-06 23:50:50 UTC (rev 11443)
+++ trunk/src/plugins/forumml/debian/dsf-in/plugin-forumml.postinst	2010-11-06 23:50:58 UTC (rev 11444)
@@ -27,10 +27,8 @@
     configure)
 	# Prepare database
 	/usr/share/@OLDPACKAGE@/bin/register-plugin forumml "ForumML"
-	/usr/share/gforge/plugins/forumml/bin/installFF.sh
 	/usr/share/@OLDPACKAGE@/plugins/forumml/bin/db-upgrade.pl
-	/usr/share/@OLDPACKAGE@/plugins/forumml/bin/ml_arch_2_DBFF.pl
-
+	/usr/share/@OLDPACKAGE@/plugins/forumml/bin/install.sh
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)

Added: trunk/src/plugins/mailman/bin/install.sh
===================================================================
--- trunk/src/plugins/mailman/bin/install.sh	                        (rev 0)
+++ trunk/src/plugins/mailman/bin/install.sh	2010-11-06 23:50:58 UTC (rev 11444)
@@ -0,0 +1,6 @@
+#! /bin/sh
+PATH=/usr/share/gforge/bin:/usr/share/fusionforge/bin:$PATH
+export PATH
+chgrp list /var/lib/mailman/lists/extend.py
+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` `forge_get_config database_password`


Property changes on: trunk/src/plugins/mailman/bin/install.sh
___________________________________________________________________
Added: svn:executable
   + *

Modified: trunk/src/plugins/mailman/debian/dsf-in/plugin-mailman.postinst
===================================================================
--- trunk/src/plugins/mailman/debian/dsf-in/plugin-mailman.postinst	2010-11-06 23:50:50 UTC (rev 11443)
+++ trunk/src/plugins/mailman/debian/dsf-in/plugin-mailman.postinst	2010-11-06 23:50:58 UTC (rev 11444)
@@ -22,17 +22,13 @@
 #     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)
 	# Prepare database
 	/usr/share/@OLDPACKAGE@/bin/register-plugin mailman "Mailman"
-	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` `forge_get_config database_password`
+	/usr/share/@OLDPACKAGE@/plugins/mailman/bin/install.sh
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)




More information about the Fusionforge-commits mailing list