summaryrefslogtreecommitdiff
path: root/sources/update_all.sh
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2014-09-18 11:40:49 +0200
committerJochen Topf <jochen@topf.org>2014-09-18 11:40:49 +0200
commit5475214823e7a9deaa7925bb0054c22b233658d1 (patch)
tree38bd727d80b42509c3b5c6aed9828931b47c8dff /sources/update_all.sh
parent29cf83f2a8a3a137867b5ed523b75be192aa92ad (diff)
downloadtaginfo-5475214823e7a9deaa7925bb0054c22b233658d1.tar
taginfo-5475214823e7a9deaa7925bb0054c22b233658d1.tar.gz
Make update more robust.
Diffstat (limited to 'sources/update_all.sh')
-rwxr-xr-xsources/update_all.sh2
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