diff options
Diffstat (limited to 'sources/potlatch/update.sh')
-rwxr-xr-x | sources/potlatch/update.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sources/potlatch/update.sh b/sources/potlatch/update.sh index 748ff4a..a2ebcf7 100755 --- a/sources/potlatch/update.sh +++ b/sources/potlatch/update.sh @@ -23,10 +23,12 @@ DATABASE=$DIR/taginfo-potlatch.db rm -f $DATABASE echo "`$DATECMD` Updating resources..." -if [ -d $DIR/resources ]; then - svn update $DIR/resources +if [ -d $DIR/git-source ]; then + cd $DIR/git-source + git pull + cd - else - svn checkout http://svn.openstreetmap.org/applications/editors/potlatch2/resources $DIR/resources + git clone git://git.openstreetmap.org/potlatch2.git $DIR/git-source fi echo "`$DATECMD` Running init.sql..." |