[Mapbender-commits] r5181 - trunk/mapbender/resources/db
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Sat Dec 12 08:48:41 EST 2009
Author: astrid_emde
Date: 2009-12-12 08:48:40 -0500 (Sat, 12 Dec 2009)
New Revision: 5181
Modified:
trunk/mapbender/resources/db/install.sh
Log:
added 2.6 --> 2.6.1
Modified: trunk/mapbender/resources/db/install.sh
===================================================================
--- trunk/mapbender/resources/db/install.sh 2009-12-12 13:34:18 UTC (rev 5180)
+++ trunk/mapbender/resources/db/install.sh 2009-12-12 13:48:40 UTC (rev 5181)
@@ -80,12 +80,13 @@
echo ""
echo "database host (e.g. localhost)?"
read DBHOST
+ : ${DBHOST:="localhost"}
echo ""
echo "database port (e.g. 5432 for postgres, 3306 for mysql)?"
read DBPORT
+ : ${DBPORT:="5432"}
-
echo ""
echo "database user?"
read DBUSER
@@ -178,8 +179,10 @@
psql -U $DBUSER -h $DBHOST -p $DBPORT -f pgsql/$DBENCODING/update/update_2.5.1_to_2.6rc1_pgsql_$DBENCODING.sql $DBNAME >> log_update.txt 2>> err_update.txt
echo "update to 2.6"
psql -U $DBUSER -h $DBHOST -p $DBPORT -f pgsql/$DBENCODING/update/update_2.6rc1_to_2.6_pgsql_$DBENCODING.sql $DBNAME >> log_update.txt 2>> err_update.txt
+ echo "update to 2.6.1"
+ psql -U $DBUSER -h $DBHOST -p $DBPORT -f pgsql/$DBENCODING/update/update_2.6_to_2.6.1_pgsql_$DBENCODING.sql $DBNAME >> log_update.txt 2>> err_update.txt
echo "update to 2.7"
- psql -U $DBUSER -h $DBHOST -p $DBPORT -f pgsql/$DBENCODING/update/update_2.6_to_2.7rc1_pgsql_$DBENCODING.sql $DBNAME >> log_update.txt 2>> err_update.txt
+ psql -U $DBUSER -h $DBHOST -p $DBPORT -f pgsql/$DBENCODING/update/update_2.6.1_to_2.7rc1_pgsql_$DBENCODING.sql $DBNAME >> log_update.txt 2>> err_update.txt
}
More information about the Mapbender_commits
mailing list