X-Git-Url: http://git.rrze.uni-erlangen.de/gitweb/?p=osmrrze.git;a=blobdiff_plain;f=scripts%2Fdoosmupdate.sh;h=e15f856d57207ffdb2af2229e5f63047c584710d;hp=53f63c68f084c66ea63877b782a31e1285093f11;hb=11f3d0024de8a5f26153fc370e88f80d7ee68a3c;hpb=f01e50b19b460ade3c717f41eb89554abbe884ba diff --git a/scripts/doosmupdate.sh b/scripts/doosmupdate.sh index 53f63c6..e15f856 100755 --- a/scripts/doosmupdate.sh +++ b/scripts/doosmupdate.sh @@ -65,6 +65,9 @@ if [ -e $CHANGESFILE ] ; then fi echo "Update seems to have been successful." grep timestamp $OSMOSISWORKDIR/state.txt | sed -e 's/timestamp=//g' -e 's/T/ /g' -e 's/\\:/:/g' > $WEBSTATEFILE +echo -n "Updated database: now at upstream state of " +cat $WEBSTATEFILE +touch /var/lib/tirex/tiles/planet-import-complete if [ -e $EXPIRYFILE ] ; then echo "Expiryfile exists. Telling tirex to rerender the tiles mentioned there..." echo "Number of lines: `wc -l $EXPIRYFILE`" @@ -74,7 +77,7 @@ if [ -e $EXPIRYFILE ] ; then /var/lib/tirex/tiles/osm cat $EXPIRYFILE | /home.local/osm/bin/osmtilecleanup.pl \ --action rerenderexpiredlist --zoom 13-20 \ - --rrs /home.local/osm/bin/osmrerenderwrapper.sh \ + --rrs /home.local/osm/bin/osmrerenderwrapper-osmde.sh \ /var/lib/tirex/tiles/osmde rm $EXPIRYFILE fi