provision: Add provision support for Ubuntu 20.10(Groovy).

PostgreSQL 13 is used when os_version is 20.10.
This commit is contained in:
Ganesh Pawar 2021-02-02 17:06:59 +05:30 committed by Tim Abbott
parent 65e23dd713
commit 7eeca9da46
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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":