[Fusionforge-commits] r15548 - in branches/Branch_5_1: . src/plugins/mediawiki/debian

Roland Mas lolando at fusionforge.org
Wed May 23 10:09:34 CEST 2012


Author: lolando
Date: 2012-05-23 10:09:33 +0200 (Wed, 23 May 2012)
New Revision: 15548

Modified:
   branches/Branch_5_1/
   branches/Branch_5_1/src/plugins/mediawiki/debian/plugin-mediawiki.postinst
Log:
Run the Mediawiki upgrade on postinst configure as well as postinst triggered

Modified: branches/Branch_5_1/src/plugins/mediawiki/debian/plugin-mediawiki.postinst
===================================================================
--- branches/Branch_5_1/src/plugins/mediawiki/debian/plugin-mediawiki.postinst	2012-05-22 22:30:43 UTC (rev 15547)
+++ branches/Branch_5_1/src/plugins/mediawiki/debian/plugin-mediawiki.postinst	2012-05-23 08:09:33 UTC (rev 15548)
@@ -4,7 +4,7 @@
 set -e
 
 case "$1" in
-    triggered)
+    triggered|configure)
 	if [ "$2" = /usr/share/mediawiki/maintenance/postgres ] ; then
 	    # Upgrade Mediawiki database schemas
 	    /usr/share/gforge/bin/list-projects-using-plugin.php mediawiki | while read i ; do
@@ -14,7 +14,7 @@
 	fi
 	;;
     
-    configure|abort-upgrade|abort-remove|abort-deconfigure)
+    abort-upgrade|abort-remove|abort-deconfigure)
 	;;
 
     *)




More information about the Fusionforge-commits mailing list