[Mapbender-commits] r7989 - branches/2.7/resources/db
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri Jul 22 09:44:34 EDT 2011
Author: astrid_emde
Date: 2011-07-22 06:44:34 -0700 (Fri, 22 Jul 2011)
New Revision: 7989
Modified:
branches/2.7/resources/db/install.sh
Log:
set defaults for continue, answer to abort script
Modified: branches/2.7/resources/db/install.sh
===================================================================
--- branches/2.7/resources/db/install.sh 2011-07-21 11:50:14 UTC (rev 7988)
+++ branches/2.7/resources/db/install.sh 2011-07-22 13:44:34 UTC (rev 7989)
@@ -187,6 +187,7 @@
then
echo "Do you want that all files are owned by the apache webserver? (y)es or (n)o"
read setowner
+ : ${setowner:="n"}
if test $setowner != "n"
then
echo "Please specify the webserver user (on Debian Linux typically www-data)"
@@ -227,6 +228,7 @@
then
echo "Continue? (y)es or (n)o"
read disclaimer
+ : ${disclaimer:="n"}
if test $disclaimer != "y"
then
exit 1
@@ -237,6 +239,7 @@
show_db_config;
echo "Look ok? Start Install? (y)es or (n)o"
read ANSWER
+ : ${ANSWER:="n"}
if test $ANSWER != "y"
then
exec $0
More information about the Mapbender_commits
mailing list