From 1d2314aed982b30620e59ed12daa23661c0cee87 Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Thu, 4 Nov 2010 20:58:01 +0100 Subject: fixed source import scripts --- sources/potlatch/update.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sources/potlatch') 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