diff options
Diffstat (limited to 'debian/htdig/htdig-3.2.0b6/debian/htdigconfig')
-rw-r--r-- | debian/htdig/htdig-3.2.0b6/debian/htdigconfig | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/htdig/htdig-3.2.0b6/debian/htdigconfig b/debian/htdig/htdig-3.2.0b6/debian/htdigconfig new file mode 100644 index 00000000..feba8b2f --- /dev/null +++ b/debian/htdig/htdig-3.2.0b6/debian/htdigconfig @@ -0,0 +1,20 @@ +#!/bin/sh -e + +echo -n "Creating endings database for ht://Dig search engine..." + +# Only create the endings database if it doesn't already exist. +# This database is static, so even if pages change, this database will not +# need to be rebuilt. + +if [ ! -f /var/lib/htdig/word2root.db ] +then + htfuzzy $verbose endings +fi + +if [ ! -f /var/lib/htdig/synonyms.db ] +then + htfuzzy $verbose synonyms +fi + +echo "done." + |