diff options
-rwxr-xr-x | sources/potlatch/update.sh | 10 | ||||
-rwxr-xr-x | sources/update_all.sh | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sources/potlatch/update.sh b/sources/potlatch/update.sh index 004f1db..8ba9956 100755 --- a/sources/potlatch/update.sh +++ b/sources/potlatch/update.sh @@ -21,11 +21,11 @@ DATABASE=$DIR/taginfo-potlatch.db rm -f $DATABASE echo "Getting resources..." -#if [ -d $DIR/resources ]; then -# svn update $DIR/resources -#else -# svn checkout http://svn.openstreetmap.org/applications/editors/potlatch2/resources $DIR/resources -#fi +if [ -d $DIR/resources ]; then + svn update $DIR/resources +else + svn checkout http://svn.openstreetmap.org/applications/editors/potlatch2/resources $DIR/resources +fi echo "Running pre.sql..." sqlite3 $DATABASE <pre.sql diff --git a/sources/update_all.sh b/sources/update_all.sh index 4011a2d..03045b7 100755 --- a/sources/update_all.sh +++ b/sources/update_all.sh @@ -5,7 +5,7 @@ # update_all.sh DIR # -SOURCES="db josm wiki" +SOURCES="josm potlatch merkaartor wiki db" set -e |