[evolvis-commits] r16740: give connection rights to list user↵

mirabilos at evolvis.org mirabilos at evolvis.org
Tue Mar 1 01:37:54 CET 2011


Author: mirabilos
Date: 2011-03-01 01:37:54 +0100 (Tue, 01 Mar 2011)
New Revision: 16740

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


Modified: trunk/gforge_base/evolvisforge-5.1/src/deb-specific/install-db.sh
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/deb-specific/install-db.sh	2011-03-01 00:37:51 UTC (rev 16739)
+++ trunk/gforge_base/evolvisforge-5.1/src/deb-specific/install-db.sh	2011-03-01 00:37:54 UTC (rev 16740)
@@ -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 evolvis-commits mailing list