[Fusionforge-commits] r10771 - branches/Branch_5_0/gforge/deb-specific trunk/src/deb-specific trunk/src/debian/dsf-in

Thorsten Glaser mirabilos at libremir.placard.fr.eu.org
Wed Sep 29 09:56:50 CEST 2010


Author: mirabilos
Date: 2010-09-29 09:56:49 +0200 (Wed, 29 Sep 2010)
New Revision: 10771

Modified:
   branches/Branch_5_0/gforge/deb-specific/install-db.sh
   trunk/src/deb-specific/install-db.sh
   trunk/src/debian/dsf-in/db-postgresql.postinst.dsfh-in
   trunk/src/debian/dsf-in/db-postgresql.prerm
Log:
postgresql init script, the remaining cases
merci roland for spotting this problem


Modified: branches/Branch_5_0/gforge/deb-specific/install-db.sh
===================================================================
--- branches/Branch_5_0/gforge/deb-specific/install-db.sh	2010-09-28 19:36:53 UTC (rev 10770)
+++ branches/Branch_5_0/gforge/deb-specific/install-db.sh	2010-09-29 07:56:49 UTC (rev 10771)
@@ -305,6 +305,7 @@
         perl -pi -e "s/$localtrust\n//" ${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)

Modified: trunk/src/deb-specific/install-db.sh
===================================================================
--- trunk/src/deb-specific/install-db.sh	2010-09-28 19:36:53 UTC (rev 10770)
+++ trunk/src/deb-specific/install-db.sh	2010-09-29 07:56:49 UTC (rev 10771)
@@ -306,6 +306,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)
@@ -329,6 +330,7 @@
         perl -pi -e "s/$localtrust\n//" ${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)

Modified: trunk/src/debian/dsf-in/db-postgresql.postinst.dsfh-in
===================================================================
--- trunk/src/debian/dsf-in/db-postgresql.postinst.dsfh-in	2010-09-28 19:36:53 UTC (rev 10770)
+++ trunk/src/debian/dsf-in/db-postgresql.postinst.dsfh-in	2010-09-29 07:56:49 UTC (rev 10771)
@@ -66,6 +66,7 @@
 	# Make sure the database accepts connections from these new users
 	pg_name=postgresql-$pg_version
 	# 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: trunk/src/debian/dsf-in/db-postgresql.prerm
===================================================================
--- trunk/src/debian/dsf-in/db-postgresql.prerm	2010-09-28 19:36:53 UTC (rev 10770)
+++ trunk/src/debian/dsf-in/db-postgresql.prerm	2010-09-29 07:56:49 UTC (rev 10771)
@@ -56,6 +56,7 @@
 
 	pg_name=postgresql-$pg_version
 	# 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