summaryrefslogtreecommitdiff
path: root/sources/update_all.sh
diff options
context:
space:
mode:
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 dfe31c6..b511ecd 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 --fail --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 --time-cond $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