comparison contrib/make_flys_release/make_release.sh @ 7780:9cce1b34e47b

Remove FLYS-specific stuff from map configuration and allow to give a custom files in release script.
author Tom Gottfried <tom@intevation.de>
date Tue, 04 Mar 2014 19:08:02 +0100
parents 35a7c05b5cd4
children 507ce37ba6cd
comparison
equal deleted inserted replaced
7779:abf3cb9cb6c4 7780:9cce1b34e47b
220 fi 220 fi
221 221
222 sed -i -e "s@/usr/share/fonts/truetype/freefont@${FONT_PATH}@g" \ 222 sed -i -e "s@/usr/share/fonts/truetype/freefont@${FONT_PATH}@g" \
223 $FLYS_SOURCE_DIR/river/gwt-client/src/main/webapp/WEB-INF/config.yaml 223 $FLYS_SOURCE_DIR/river/gwt-client/src/main/webapp/WEB-INF/config.yaml
224 224
225 if [ -r "$RIVERMAP_XML" ]; then
226 cp "$RIVERMAP_XML" $FLYS_SOURCE_DIR/river/artifacts/doc/conf/rivermap.xml
227 fi
228
229 if [ -r "$FLOODMAP_XML" ]; then
230 cp "$FLOODMAP_XML" $FLYS_SOURCE_DIR/river/artifacts/doc/conf/floodmap.xml
231 fi
232
225 if [ ! -f $FLYS_SOURCE_DIR/OpenLayers-2.11.tar.gz ]; then 233 if [ ! -f $FLYS_SOURCE_DIR/OpenLayers-2.11.tar.gz ]; then
226 echo "INFO: download OpenLayers-2.11 for client" 234 echo "INFO: download OpenLayers-2.11 for client"
227 cd $FLYS_SOURCE_DIR 235 cd $FLYS_SOURCE_DIR
228 curl -O http://openlayers.org/download/OpenLayers-2.11.tar.gz 236 curl -O http://openlayers.org/download/OpenLayers-2.11.tar.gz
229 tar xvfz OpenLayers-2.11.tar.gz 237 tar xvfz OpenLayers-2.11.tar.gz

http://dive4elements.wald.intevation.org