mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
search: Remove now unnecessary tsearch_extra dependency.
Now that we're implemented tsearch_extras in pure postgres, we no longer need a custom extension. This should help us considerably, as it means we no longer need to ship custom apt packages at all. Fixes #467. Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
committed by
Tim Abbott
parent
c3e395b7d8
commit
6701c4463c
@@ -1,14 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
set -x
|
||||
set -e
|
||||
|
||||
cd "$(mktemp -d)"
|
||||
distro=$(lsb_release -is)
|
||||
|
||||
git clone https://github.com/zulip/tsearch_extras
|
||||
if [ "$distro" = "Ubuntu" ] || [ "$distro" == "Debian" ]; then
|
||||
make="make"
|
||||
else
|
||||
make="gmake"
|
||||
fi
|
||||
(cd tsearch_extras && "$make" && "$make" install)
|
||||
@@ -3,4 +3,3 @@ ALTER ROLE zulip SET search_path TO zulip,public;
|
||||
CREATE DATABASE zulip OWNER=zulip;
|
||||
\connect zulip
|
||||
CREATE SCHEMA zulip AUTHORIZATION zulip;
|
||||
CREATE EXTENSION tsearch_extras SCHEMA zulip;
|
||||
|
||||
Reference in New Issue
Block a user