[Mapbender-commits] r5558 - trunk/mapbender/resources/db

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Sat Feb 20 09:03:05 EST 2010


Author: tbaschetti
Date: 2010-02-20 09:03:04 -0500 (Sat, 20 Feb 2010)
New Revision: 5558

Modified:
   trunk/mapbender/resources/db/install.bat
   trunk/mapbender/resources/db/install.sh
   trunk/mapbender/resources/db/update.sh
Log:
minor corrections (spelling etc.)


Modified: trunk/mapbender/resources/db/install.bat
===================================================================
--- trunk/mapbender/resources/db/install.bat	2010-02-20 13:50:11 UTC (rev 5557)
+++ trunk/mapbender/resources/db/install.bat	2010-02-20 14:03:04 UTC (rev 5558)
@@ -19,11 +19,11 @@
 echo - database user with write access 
 echo.
 echo If everything is prepared you can continue.
-echo "You can give nearly all arguments on commandline:"
+echo You can give nearly all arguments on commandline:
 echo "%0 <HOST> <PORT> <DBNAME> <DBTEMPLATE> <DBUSER>"
-echo ""
-echo "e.g."
-echo "%0 localhost 5432 mapbender template0 postgres"
+echo.
+echo e.g.
+echo %0 localhost 5432 mapbender template0 postgres
 
 echo.
 echo ==============================================================================

Modified: trunk/mapbender/resources/db/install.sh
===================================================================
--- trunk/mapbender/resources/db/install.sh	2010-02-20 13:50:11 UTC (rev 5557)
+++ trunk/mapbender/resources/db/install.sh	2010-02-20 14:03:04 UTC (rev 5558)
@@ -72,6 +72,7 @@
     read DBUSER
 
 #using a password via commandline oder as shell var could lead to security problems, so we don't do it
+#see  http://www.postgresql.org/docs/current/static/libpq-pgpass.html for a convenient way
 #    echo ""
 #    echo "Password for $DBUSER (will not be shown)?"
 #	stty -echo

Modified: trunk/mapbender/resources/db/update.sh
===================================================================
--- trunk/mapbender/resources/db/update.sh	2010-02-20 13:50:11 UTC (rev 5557)
+++ trunk/mapbender/resources/db/update.sh	2010-02-20 14:03:04 UTC (rev 5558)
@@ -15,10 +15,9 @@
     echo "$0 <HOST> <PORT> <DBNAME> <DBUSER>"
     echo ""
     echo "e.g."
-    echo "./update.sh localhost 5432 mapbender postgres"
+    echo "$0 localhost 5432 mapbender postgres"
     echo ""
-    echo "------"
-    
+    echo "------"    
     echo ""
 }
 
@@ -54,6 +53,7 @@
     read DBUSER
 
 #using a password via commandline oder as shell var could lead to security problems, so we don't do it
+#see  http://www.postgresql.org/docs/current/static/libpq-pgpass.html for a convenient way
 #    echo ""
 #    echo "Password for $DBUSER (will not be shown)?"
 #	stty -echo
@@ -73,7 +73,7 @@
     echo "user:"     $DBUSER
 }
 
-#show Database Configuration
+#set Database Configuration from commandline
 function set_db_config(){
 	echo ""
     echo "set variables to input:"
@@ -83,7 +83,6 @@
 	DBUSER=$4
 }
 
-
 #Create Database (Postgres)
 function run_pgsql_update(){
     which psql  > /dev/null



More information about the Mapbender_commits mailing list