[Fusionforge-commits] r15675 - in branches/Branch_5_2: . src/debian src/plugins/mediawiki/debian

Roland Mas lolando at fusionforge.org
Wed Jun 6 18:31:21 CEST 2012


Author: lolando
Date: 2012-06-06 18:31:20 +0200 (Wed, 06 Jun 2012)
New Revision: 15675

Modified:
   branches/Branch_5_2/
   branches/Branch_5_2/src/debian/changelog
   branches/Branch_5_2/src/plugins/mediawiki/debian/plugin-mediawiki.postinst
Log:
Reinstate plugin initialisation code in plugin-mediawiki.postinst

Modified: branches/Branch_5_2/src/debian/changelog
===================================================================
--- branches/Branch_5_2/src/debian/changelog	2012-06-05 11:57:43 UTC (rev 15674)
+++ branches/Branch_5_2/src/debian/changelog	2012-06-06 16:31:20 UTC (rev 15675)
@@ -1,8 +1,10 @@
 fusionforge (5.2~rc1-2) UNRELEASED; urgency=low
 
   * Use more of the system-provided Jquery.
+  * Reinstate code running the Mediawiki SQL initialisation code from the
+    package's postinst.
 
- -- Roland Mas <lolando at debian.org>  Sat, 02 Jun 2012 18:04:21 +0200
+ -- Roland Mas <lolando at debian.org>  Wed, 06 Jun 2012 17:49:37 +0200
 
 fusionforge (5.2~rc1-1) unstable; urgency=low
 

Modified: branches/Branch_5_2/src/plugins/mediawiki/debian/plugin-mediawiki.postinst
===================================================================
--- branches/Branch_5_2/src/plugins/mediawiki/debian/plugin-mediawiki.postinst	2012-06-05 11:57:43 UTC (rev 15674)
+++ branches/Branch_5_2/src/plugins/mediawiki/debian/plugin-mediawiki.postinst	2012-06-06 16:31:20 UTC (rev 15675)
@@ -18,6 +18,12 @@
 	;;
     
     configure)
+	# Run plugin specific db upgrade
+	if [ -f /usr/share/@OLDPACKAGE@/plugins/@PLUGSHORTNAME@/bin/db-upgrade.pl ]
+	then
+		/usr/share/@OLDPACKAGE@/plugins/@PLUGSHORTNAME@/bin/db-upgrade.pl
+	fi
+	/usr/share/@OLDPACKAGE@/bin/register-plugin $(echo @PLUGSHORTNAME@ | sed 's/-//g') "@PLUGLONGNAME@"
 	upgrade_mediawikis
 	;;
     




More information about the Fusionforge-commits mailing list