[Fusionforge-commits] r10768 - in branches/Branch_5_0/gforge: deb-specific debian debian/dsf-in

Roland Mas lolando at libremir.placard.fr.eu.org
Tue Sep 28 20:45:50 CEST 2010


Author: lolando
Date: 2010-09-28 20:45:49 +0200 (Tue, 28 Sep 2010)
New Revision: 10768

Modified:
   branches/Branch_5_0/gforge/deb-specific/install-db.sh
   branches/Branch_5_0/gforge/debian/changelog
   branches/Branch_5_0/gforge/debian/dsf-in/db-postgresql.postinst.dsfh-in
   branches/Branch_5_0/gforge/debian/dsf-in/db-postgresql.prerm
Log:
Fixed bad detection of PostgreSQL's init script

Modified: branches/Branch_5_0/gforge/deb-specific/install-db.sh
===================================================================
--- branches/Branch_5_0/gforge/deb-specific/install-db.sh	2010-09-28 17:43:13 UTC (rev 10767)
+++ branches/Branch_5_0/gforge/deb-specific/install-db.sh	2010-09-28 18:45:49 UTC (rev 10768)
@@ -281,6 +281,7 @@
 	chmod 644 ${pg_hba_dir}/pg_hba.conf
 
 	# Trying "postgresql" init script...
+	v=0
 	invoke-rc.d postgresql restart || v=$?
 	if test x"$v" = x"100"; then
 		# No "postgresql" init script (for packages << 8.4.4-2)

Modified: branches/Branch_5_0/gforge/debian/changelog
===================================================================
--- branches/Branch_5_0/gforge/debian/changelog	2010-09-28 17:43:13 UTC (rev 10767)
+++ branches/Branch_5_0/gforge/debian/changelog	2010-09-28 18:45:49 UTC (rev 10768)
@@ -3,8 +3,9 @@
   * Ship a /usr/share/gforge/plugins/ directory in gforge-web-apache2
     (closes: #597714).
   * Update roadmap URL (closes: #597847).
+  * Fix detection of PostgreSQL's init script (closes: #596931).
 
- -- Roland Mas <lolando at debian.org>  Thu, 23 Sep 2010 17:23:46 +0200
+ -- Roland Mas <lolando at debian.org>  Tue, 28 Sep 2010 20:42:06 +0200
 
 fusionforge (5.0.2-1) unstable; urgency=low
 

Modified: branches/Branch_5_0/gforge/debian/dsf-in/db-postgresql.postinst.dsfh-in
===================================================================
--- branches/Branch_5_0/gforge/debian/dsf-in/db-postgresql.postinst.dsfh-in	2010-09-28 17:43:13 UTC (rev 10767)
+++ branches/Branch_5_0/gforge/debian/dsf-in/db-postgresql.postinst.dsfh-in	2010-09-28 18:45:49 UTC (rev 10768)
@@ -65,6 +65,7 @@
 
 	# Reload postgresql to make sure the database accepts connections from the new users
 	# Trying "postgresql" init script...
+	v=0
 	invoke-rc.d postgresql reload || v=$?
 	if test x"$v" = x"100"; then
 		# No "postgresql" init script (for packages << 8.4.4-2)

Modified: branches/Branch_5_0/gforge/debian/dsf-in/db-postgresql.prerm
===================================================================
--- branches/Branch_5_0/gforge/debian/dsf-in/db-postgresql.prerm	2010-09-28 17:43:13 UTC (rev 10767)
+++ branches/Branch_5_0/gforge/debian/dsf-in/db-postgresql.prerm	2010-09-28 18:45:49 UTC (rev 10768)
@@ -55,6 +55,7 @@
 	ucf --purge ${pg_hba_dir}/pg_hba.conf
 
 	# Trying "postgresql" init script...
+	v=0
 	invoke-rc.d postgresql reload || v=$?
 	if test x"$v" = x"100"; then
 		# No "postgresql" init script (for packages << 8.4.4-2)




More information about the Fusionforge-commits mailing list