[Mapbender-commits] r6523 - trunk/build/osgeolive
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Sat Jul 3 08:24:28 EDT 2010
Author: tbaschetti
Date: 2010-07-03 12:24:28 +0000 (Sat, 03 Jul 2010)
New Revision: 6523
Modified:
trunk/build/osgeolive/install_mapbender.sh
Log:
fix
Modified: trunk/build/osgeolive/install_mapbender.sh
===================================================================
--- trunk/build/osgeolive/install_mapbender.sh 2010-07-03 12:21:28 UTC (rev 6522)
+++ trunk/build/osgeolive/install_mapbender.sh 2010-07-03 12:24:28 UTC (rev 6523)
@@ -79,6 +79,7 @@
# uncompress mapbender
unzip -o mapbender_osgeo.zip
+rm -rf $INSTALL_DIR/mapbender
cp -R $INSTALLFILE $INSTALL_DIR/mapbender
chmod -R uga+r $INSTALL_DIR/mapbender
chown -R www-data:www-data $INSTALL_DIR/mapbender
@@ -87,14 +88,11 @@
# create mabpender database
cd $INSTALL_DIR/mapbender/resources/db
-chmod +x install.sh
-./install.sh localhost 5432 MAPBENDER_DATABASE_NAME MAPBENDER_DATABASE_TEMPLATE MAPBENDER_DATABASE_USER
+chmod +x install_2.6.sh
+./install_2.6.sh localhost 5432 MAPBENDER_DATABASE_NAME MAPBENDER_DATABASE_TEMPLATE MAPBENDER_DATABASE_USER
-
-
-
#Create apache2 configuration for mapbender
-echo "#Configure apache for mapbender " >> /etc/apache2/conf.d/mapbender
+echo "#Configure apache for mapbender " > /etc/apache2/conf.d/mapbender
echo "Alias /mapbender $INSTALL_DIR/mapbender/http/" >> /etc/apache2/conf.d/mapbender
echo "<Directory $INSTALL_DIR/mapbender/http>" >> /etc/apache2/conf.d/mapbender
echo "Options MultiViews" >> /etc/apache2/conf.d/mapbender
More information about the Mapbender_commits
mailing list