mirror of https://github.com/zulip/zulip.git
provision: Add provision support for Ubuntu 20.10(Groovy).
PostgreSQL 13 is used when os_version is 20.10.
This commit is contained in:
parent
65e23dd713
commit
7eeca9da46
|
@ -38,7 +38,7 @@ apt-get -y install "${pre_setup_deps[@]}"
|
|||
SCRIPTS_PATH="$(cd "$(dirname "$(dirname "$0")")" && pwd)"
|
||||
|
||||
release=$(lsb_release -sc)
|
||||
if [[ "$release" =~ ^(bionic|cosmic|disco|eoan|focal)$ ]]; then
|
||||
if [[ "$release" =~ ^(bionic|cosmic|disco|eoan|focal|groovy)$ ]]; then
|
||||
distribution=ubuntu
|
||||
apt-key add "$SCRIPTS_PATH"/setup/pgdg.asc
|
||||
apt-key add "$SCRIPTS_PATH"/setup/pgroonga-ppa.asc
|
||||
|
|
|
@ -96,6 +96,8 @@ elif vendor == "ubuntu" and os_version in ["19.04", "19.10"]: # disco, eoan
|
|||
POSTGRESQL_VERSION = "11"
|
||||
elif vendor == "ubuntu" and os_version == "20.04": # focal
|
||||
POSTGRESQL_VERSION = "12"
|
||||
elif vendor == "ubuntu" and os_version == "20.10": # groovy
|
||||
POSTGRESQL_VERSION = "13"
|
||||
elif vendor == "neon" and os_version == "20.04": # KDE Neon
|
||||
POSTGRESQL_VERSION = "12"
|
||||
elif vendor == "fedora" and os_version == "29":
|
||||
|
|
Loading…
Reference in New Issue