summaryrefslogtreecommitdiff
path: root/sources/master/update.sh
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2010-11-22 17:34:58 +0100
committerJochen Topf <jochen@topf.org>2010-11-22 17:34:58 +0100
commitd7b01517714d16c3d8f57c34607a2579bd7ae8eb (patch)
tree503d3b8bd7451619629b069b2446ef58ae2dab0b /sources/master/update.sh
parent38d2c23e137c4cd7fb454db78b0a1981af5e3571 (diff)
downloadtaginfo-d7b01517714d16c3d8f57c34607a2579bd7ae8eb.tar
taginfo-d7b01517714d16c3d8f57c34607a2579bd7ae8eb.tar.gz
Improved search and some more translations
Diffstat (limited to 'sources/master/update.sh')
-rwxr-xr-xsources/master/update.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/sources/master/update.sh b/sources/master/update.sh
index f1598d9..6b85f64 100755
--- a/sources/master/update.sh
+++ b/sources/master/update.sh
@@ -16,6 +16,11 @@ if [ "x" = "x$DIR" ]; then
exit 1
fi
+echo "`$DATECMD` Create search database..."
+
+rm -f $DIR/taginfo-search.db
+perl -pe "s|__DIR__|$DIR|" search.sql | sqlite3 $DIR/taginfo-search.db
+
echo "`$DATECMD` Start master..."
DATABASE=$DIR/taginfo-master.db