[Fusionforge-commits] r9662 - in trunk/plugins: coclico/hudson/debian/dsf-in templates/helloworld/debian/dsf-in

Christian Bayle cbayle at libremir.placard.fr.eu.org
Fri Apr 30 10:01:58 CEST 2010


Author: cbayle
Date: 2010-04-30 10:01:57 +0200 (Fri, 30 Apr 2010)
New Revision: 9662

Modified:
   trunk/plugins/coclico/hudson/debian/dsf-in/plugin-hudson.postinst
   trunk/plugins/templates/helloworld/debian/dsf-in/plugin-helloworld.postinst
Log:
Upgrade the db in postinst


Modified: trunk/plugins/coclico/hudson/debian/dsf-in/plugin-hudson.postinst
===================================================================
--- trunk/plugins/coclico/hudson/debian/dsf-in/plugin-hudson.postinst	2010-04-30 07:44:38 UTC (rev 9661)
+++ trunk/plugins/coclico/hudson/debian/dsf-in/plugin-hudson.postinst	2010-04-30 08:01:57 UTC (rev 9662)
@@ -29,6 +29,7 @@
 
 	# Prepare database
 	su -s /bin/sh @OLDPACKAGE@ -c '/usr/share/@OLDPACKAGE@/bin/register-plugin hudson "Hudson"'
+	su -s /bin/sh @OLDPACKAGE@ -c '/usr/share/@OLDPACKAGE@/plugins/hudson/bin/db-upgrade.pl'
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)

Modified: trunk/plugins/templates/helloworld/debian/dsf-in/plugin-helloworld.postinst
===================================================================
--- trunk/plugins/templates/helloworld/debian/dsf-in/plugin-helloworld.postinst	2010-04-30 07:44:38 UTC (rev 9661)
+++ trunk/plugins/templates/helloworld/debian/dsf-in/plugin-helloworld.postinst	2010-04-30 08:01:57 UTC (rev 9662)
@@ -29,6 +29,7 @@
 
 	# Prepare database
 	su -s /bin/sh @OLDPACKAGE@ -c '/usr/share/@OLDPACKAGE@/bin/register-plugin helloworld "HelloWorld"'
+	su -s /bin/sh @OLDPACKAGE@ -c '/usr/share/@OLDPACKAGE@/plugins/helloworld/bin/db-upgrade.pl'
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)




More information about the Fusionforge-commits mailing list