summaryrefslogtreecommitdiff
path: root/sources/update_all.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sources/update_all.sh')
-rwxr-xr-xsources/update_all.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/sources/update_all.sh b/sources/update_all.sh
index b511ecd..33376de 100755
--- a/sources/update_all.sh
+++ b/sources/update_all.sh
@@ -77,8 +77,10 @@ for source in $SOURCES_CREATE; do
bzip2 -9 -c $DIR/$source/taginfo-$source.db >$DIR/download/taginfo-$source.db.bz2 &
done
sleep 5 # wait for bzip2 on the smaller dbs to finish
-bzip2 -9 -c $DIR/taginfo-master.db >$DIR/download/taginfo-master.db.bz2 &
-bzip2 -9 -c $DIR/taginfo-search.db >$DIR/download/taginfo-search.db.bz2 &
+
+for db in master history search; do
+ bzip2 -9 -c $DIR/taginfo-$db.db >$DIR/download/taginfo-$db.db.bz2 &
+done
wait
echo "Done."