[Mapbender-commits] r8397 - branches/2.7/resources/db

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Jul 2 05:44:08 PDT 2012


Author: tbaschetti
Date: 2012-07-02 05:44:07 -0700 (Mon, 02 Jul 2012)
New Revision: 8397

Modified:
   branches/2.7/resources/db/install.sh
Log:
- delete correct logfiles (log_schema.txt, error.log)
- suggest template_postgis (as postgis functions are needed)


Modified: branches/2.7/resources/db/install.sh
===================================================================
--- branches/2.7/resources/db/install.sh	2012-07-02 12:39:32 UTC (rev 8396)
+++ branches/2.7/resources/db/install.sh	2012-07-02 12:44:07 UTC (rev 8397)
@@ -27,15 +27,15 @@
     echo "$0 <HOST> <PORT> <DBNAME> <DBTEMPLATE> <DBUSER>"
     echo ""
     echo "e.g."
-    echo "$0 localhost 5432 mapbender template0 postgres"
+    echo "$0 localhost 5432 mapbender template_postgis postgres"
     echo ""
     echo "------"
     echo ""
 }
 
 function del_logfile() {
-	rm log_*.txt
-	rm err_*.txt
+	rm log_schema.txt
+	rm error.txt
 }
 
 #get Database Configuration
@@ -64,6 +64,7 @@
 	#ask for database template
         echo ""
         echo "database template to use (Default: template0)?"
+        echo "the template should be postgis-enabled!"
         read DBTEMPLATE
         : ${DBTEMPLATE:="template0"}
    
@@ -262,6 +263,6 @@
 compile_po;
 
 echo ""
-echo "Finished...check the log and error files (./mapbender/log/*) to see if an error occured.";
+echo "Finished...check the log and error files (./log_schema.txt, ./error.log) to see if an error occured.";
 
 



More information about the Mapbender_commits mailing list