mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 21:43:21 +00:00
provision: switch Focal to use PGroonga from PPA.
Since Groonga packages for Ubuntu 20.04 Focal are now available in their ppa so stopped building pgroonga from source.
This commit is contained in:
@@ -36,14 +36,12 @@ apt-get -y install "${pre_setup_deps[@]}"
|
||||
SCRIPTS_PATH="$(dirname "$(dirname "$0")")"
|
||||
|
||||
release=$(lsb_release -sc)
|
||||
if [[ "$release" =~ ^(xenial|bionic|cosmic|disco|eoan)$ ]] ; then
|
||||
if [[ "$release" =~ ^(xenial|bionic|cosmic|disco|eoan|focal)$ ]] ; then
|
||||
apt-key add "$SCRIPTS_PATH"/setup/pgroonga-ppa.asc
|
||||
cat >$SOURCES_FILE <<EOF
|
||||
deb http://ppa.launchpad.net/groonga/ppa/ubuntu $release main
|
||||
deb-src http://ppa.launchpad.net/groonga/ppa/ubuntu $release main
|
||||
EOF
|
||||
elif [[ "$release" =~ ^(focal)$ ]] ; then
|
||||
echo "Currently Groonga do not have a ppa package for Focal so we need to build pgroonga from the source"
|
||||
elif [[ "$release" =~ ^(stretch|buster)$ ]] ; then
|
||||
apt-key add "$SCRIPTS_PATH"/setup/pgroonga-debian.asc
|
||||
cat >$SOURCES_FILE <<EOF
|
||||
|
||||
Reference in New Issue
Block a user