mirror of https://github.com/zulip/zulip.git
14 lines
372 B
Bash
Executable File
14 lines
372 B
Bash
Executable File
#!/bin/bash
|
|
set -x
|
|
set -e
|
|
|
|
cd "$(mktemp -d)"
|
|
|
|
git clone https://github.com/zulip/tsearch_extras
|
|
(cd tsearch_extras && gmake && make install)
|
|
|
|
PGVER=10
|
|
# Link installed hunspell-en-US to tsearch data
|
|
ln -sf /usr/share/myspell/en_US.dic "/usr/pgsql-$PGVER/share/tsearch_data/en_us.dict"
|
|
ln -sf /usr/share/myspell/en_US.aff "/usr/pgsql-$PGVER/share/tsearch_data/en_us.affix"
|