Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
provision: Add support for Fedora 34.
manavdesai27572cef9a0f88
diff --git a/docs/development/setup-advanced.md b/docs/development/setup-advanced.mdindex de0b96b336f..c37df21f39c 100644--- a/docs/development/setup-advanced.md+++ b/docs/development/setup-advanced.md@@ -16,7 +16,7 @@ that's running one of:* Ubuntu 20.04 Focal, 18.04 Bionic* Debian 10 Buster, 11 Bullseye (beta)* CentOS 7 (beta)-* Fedora 33 (beta)+* Fedora 33 and 34 (beta)* RHEL 7 (beta)You can just run the Zulip provision script on your machine.diff --git a/scripts/lib/setup-yum-repo b/scripts/lib/setup-yum-repoindex e1f736d28dd..3ddfd7efe8d 100755--- a/scripts/lib/setup-yum-repo+++ b/scripts/lib/setup-yum-repo@@ -53,7 +53,7 @@ elif [ "$is_rhel" = true ]; thenyum localinstall -y https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-latest-x86_64/pgdg-redhat10-10-2.noarch.rpmyum localinstall -y https://packages.groonga.org/centos/groonga-release-latest.noarch.rpmelse- # TODO only fedora33 for now+ # TODO make the postgres version a variable.PGVER=13- dnf install -y "https://download.postgresql.org/pub/repos/yum/reporpms/F-33-x86_64/pgdg-fedora-repo-latest.noarch.rpm"+ dnf install -y "https://download.postgresql.org/pub/repos/yum/reporpms/F-$RHVER-x86_64/pgdg-fedora-repo-latest.noarch.rpm"fidiff --git a/tools/lib/provision.py b/tools/lib/provision.pyindex 974884ff064..3a753791e9a 100755--- a/tools/lib/provision.py+++ b/tools/lib/provision.py@@ -107,6 +107,8 @@ elif vendor == "neon" and os_version == "20.04": # KDE NeonPOSTGRESQL_VERSION = "12"elif vendor == "fedora" and os_version == "33":POSTGRESQL_VERSION = "13"+elif vendor == "fedora" and os_version == "34":+ POSTGRESQL_VERSION = "13"elif vendor == "rhel" and os_version.startswith("7."):POSTGRESQL_VERSION = "10"elif vendor == "centos" and os_version == "7":