mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-12-24 07:37:04 +00:00
include library installation in setup
This commit is contained in:
parent
6aec61e4e8
commit
4df61f3325
@ -30,10 +30,14 @@ tools/editconf.py /etc/dovecot/conf.d/10-mail.conf \
|
|||||||
# Install cronjobs to keep FTS up to date.
|
# Install cronjobs to keep FTS up to date.
|
||||||
hide_output install -m 755 conf/cron/miab_dovecot /etc/cron.daily/
|
hide_output install -m 755 conf/cron/miab_dovecot /etc/cron.daily/
|
||||||
|
|
||||||
|
# Install files
|
||||||
if [ ! -f /usr/lib/dovecot/decode2text.sh ]; then
|
if [ ! -f /usr/lib/dovecot/decode2text.sh ]; then
|
||||||
cp -f /usr/share/doc/dovecot-core/examples/decode2text.sh /usr/lib/dovecot
|
cp -f /usr/share/doc/dovecot-core/examples/decode2text.sh /usr/lib/dovecot
|
||||||
fi
|
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;
|
cat > /etc/dovecot/conf.d/90-plugin-fts.conf << EOF;
|
||||||
plugin {
|
plugin {
|
||||||
plugin = fts fts_xapian
|
plugin = fts fts_xapian
|
||||||
|
Loading…
Reference in New Issue
Block a user