From 4df61f3325fd2602cc30adeb7765072165ec4b89 Mon Sep 17 00:00:00 2001 From: "github@kiekerjan.isdronken.nl" Date: Sun, 9 May 2021 00:00:26 +0200 Subject: [PATCH] include library installation in setup --- setup/dovecot-fts-xapian.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup/dovecot-fts-xapian.sh b/setup/dovecot-fts-xapian.sh index eb5b3d82..655ab886 100644 --- a/setup/dovecot-fts-xapian.sh +++ b/setup/dovecot-fts-xapian.sh @@ -30,10 +30,14 @@ tools/editconf.py /etc/dovecot/conf.d/10-mail.conf \ # Install cronjobs to keep FTS up to date. hide_output install -m 755 conf/cron/miab_dovecot /etc/cron.daily/ +# Install files if [ ! -f /usr/lib/dovecot/decode2text.sh ]; then cp -f /usr/share/doc/dovecot-core/examples/decode2text.sh /usr/lib/dovecot fi +cp -f lib/lib21_fts_xapian_plugin.so /usr/lib/dovecot/modules/ + +# Create configuration file cat > /etc/dovecot/conf.d/90-plugin-fts.conf << EOF; plugin { plugin = fts fts_xapian