diff options
author | Jochen Topf <jochen@topf.org> | 2014-09-18 11:40:49 +0200 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2014-09-18 11:40:49 +0200 |
commit | 5475214823e7a9deaa7925bb0054c22b233658d1 (patch) | |
tree | 38bd727d80b42509c3b5c6aed9828931b47c8dff /sources/update_all.sh | |
parent | 29cf83f2a8a3a137867b5ed523b75be192aa92ad (diff) | |
download | taginfo-5475214823e7a9deaa7925bb0054c22b233658d1.tar taginfo-5475214823e7a9deaa7925bb0054c22b233658d1.tar.gz |
Make update more robust.
Diffstat (limited to 'sources/update_all.sh')
-rwxr-xr-x | sources/update_all.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/update_all.sh b/sources/update_all.sh index 2b01dcc..dfe31c6 100755 --- a/sources/update_all.sh +++ b/sources/update_all.sh @@ -50,7 +50,7 @@ for source in $SOURCES_DOWNLOAD; do echo "=====================================" echo "Downloading $source..." mkdir -p $DIR/$source - curl --silent --output $DIR/download/taginfo-$source.db.bz2 http://taginfo.openstreetmap.org/download/taginfo-$source.db.bz2 + curl --silent --fail --output $DIR/download/taginfo-$source.db.bz2 http://taginfo.openstreetmap.org/download/taginfo-$source.db.bz2 bzcat $DIR/download/taginfo-$source.db.bz2 >$DIR/$source/taginfo-$source.db echo "Done." done |