zulip/scripts/lib/build-paradedb

11 lines
314 B
Bash
Executable File

#!/usr/bin/env bash
set -euxo pipefail
tmpdir="$(mktemp -d)"
trap 'rm -r "$tmpdir"' EXIT
cd "$tmpdir"
curl -fLO --retry 3 "https://github.com/paradedb/paradedb/releases/download/v0.12.2/postgresql-14-pg-search_0.12.2-1PARADEDB-jammy_amd64.deb"
dpkg -i "postgresql-14-pg-search_0.12.2-1PARADEDB-jammy_amd64.deb"