[Fusionforge-commits] r11526 - trunk/src/deb-specific

Christian Bayle cbayle at libremir.placard.fr.eu.org
Sun Nov 14 02:51:21 CET 2010


Author: cbayle
Date: 2010-11-14 02:51:21 +0100 (Sun, 14 Nov 2010)
New Revision: 11526

Modified:
   trunk/src/deb-specific/install-db.sh
Log:
give connection rights to list user


Modified: trunk/src/deb-specific/install-db.sh
===================================================================
--- trunk/src/deb-specific/install-db.sh	2010-11-14 01:51:14 UTC (rev 11525)
+++ trunk/src/deb-specific/install-db.sh	2010-11-14 01:51:21 UTC (rev 11526)
@@ -116,7 +116,7 @@
 	rm -f $cur
 	
 	cur=$(mktemp /tmp/$pattern)
-	perl -e "open F, \"${pg_hba_dir}/pg_hba.conf.gforge-new\" or die \$!; undef \$/; \$l=<F>; \$l=~ s/^### BEGIN GFORGE BLOCK -- DO NOT EDIT.*### END GFORGE BLOCK -- DO NOT EDIT\$/### BEGIN GFORGE BLOCK -- DO NOT EDIT\nlocal $db_name $db_user md5\nlocal $db_name ${db_user}_nss trust\nlocal $db_name ${db_user}_mta md5\n### END GFORGE BLOCK -- DO NOT EDIT/ms; print \$l;" > $cur
+	perl -e "open F, \"${pg_hba_dir}/pg_hba.conf.gforge-new\" or die \$!; undef \$/; \$l=<F>; \$l=~ s/^### BEGIN GFORGE BLOCK -- DO NOT EDIT.*### END GFORGE BLOCK -- DO NOT EDIT\$/### BEGIN GFORGE BLOCK -- DO NOT EDIT\nlocal $db_name $db_user md5\nlocal $db_name ${db_user}_nss trust\nlocal $db_name list ident\nlocal $db_name ${db_user}_mta md5\n### END GFORGE BLOCK -- DO NOT EDIT/ms; print \$l;" > $cur
 	cat $cur > ${pg_hba_dir}/pg_hba.conf.gforge-new
 	rm -f $cur
 	




More information about the Fusionforge-commits mailing list