Mercurial > dive4elements > river
comparison contrib/make_flys_release/make_release.sh @ 5530:7f8d6b49afad
Make FONT_PATH configurable in release script.
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Wed, 03 Apr 2013 10:56:57 +0200 |
parents | 2be02d6ad9dc |
children | a586153a277a |
comparison
equal
deleted
inserted
replaced
5529:52876daf97b0 | 5530:7f8d6b49afad |
---|---|
65 # --seddb-pass Sediment db password. Default: $SEDDBPASS | 65 # --seddb-pass Sediment db password. Default: $SEDDBPASS |
66 # --seddb-back Sediment db backend. Default: $SEDDBBACK | 66 # --seddb-back Sediment db backend. Default: $SEDDBBACK |
67 TOMCAT_PORT=${TOMCAT_PORT:-8282} | 67 TOMCAT_PORT=${TOMCAT_PORT:-8282} |
68 MAPSERVER_URL=${MAPSERVER_URL:-flys-devel.intevation.de} | 68 MAPSERVER_URL=${MAPSERVER_URL:-flys-devel.intevation.de} |
69 WIKI_URL=${WIKI_URL:-https://flys-intern.intevation.de/Flys-3.0} | 69 WIKI_URL=${WIKI_URL:-https://flys-intern.intevation.de/Flys-3.0} |
70 # Prefix to FreeSans.ttf | |
71 FONT_PATH=${FONT_PATH:-/opt/flys} | |
70 | 72 |
71 # Seddb Configuration | 73 # Seddb Configuration |
72 SEDDBURL=${SEDDBURL:-czech-republic.atlas.intevation.de} | 74 SEDDBURL=${SEDDBURL:-czech-republic.atlas.intevation.de} |
73 SEDDBPORT=${SEDDBPORT:-1521} | 75 SEDDBPORT=${SEDDBPORT:-1521} |
74 SEDDBBACK=${SEDDBBACK:-XE} | 76 SEDDBBACK=${SEDDBBACK:-XE} |
264 sed -i -e "s@http://example.com/@http://${MAPSERVER_URL}/@g" \ | 266 sed -i -e "s@http://example.com/@http://${MAPSERVER_URL}/@g" \ |
265 $WORK_DIR/server/conf/floodmap.xml | 267 $WORK_DIR/server/conf/floodmap.xml |
266 | 268 |
267 sed -i -e "s@http://example.com/@http://${MAPSERVER_URL}/@g" \ | 269 sed -i -e "s@http://example.com/@http://${MAPSERVER_URL}/@g" \ |
268 $WORK_DIR/server/conf/rivermap.xml | 270 $WORK_DIR/server/conf/rivermap.xml |
271 | |
272 sed -i -e "s@/usr/share/fonts/truetype/freefont@${FONT_PATH}@g" \ | |
273 $WORK_DIR/server/conf/mapserver/fontset.txt | |
269 | 274 |
270 sed -i -e "s@/tmp/flys-rivers-wms.log@${LOG_DIR}/rivers-wms-${VERSION}.log@g" \ | 275 sed -i -e "s@/tmp/flys-rivers-wms.log@${LOG_DIR}/rivers-wms-${VERSION}.log@g" \ |
271 $WORK_DIR/server/conf/mapserver/river-mapfile.vm | 276 $WORK_DIR/server/conf/mapserver/river-mapfile.vm |
272 | 277 |
273 sed -i -e "s@/tmp/flys-user-wms.log@${LOG_DIR}/user-wms-${VERSION}.log@g" \ | 278 sed -i -e "s@/tmp/flys-user-wms.log@${LOG_DIR}/user-wms-${VERSION}.log@g" \ |