mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 12:03:46 +00:00 
			
		
		
		
	provision: Add support for Fedora 34.
This commit is contained in:
		| @@ -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. | ||||
|   | ||||
| @@ -53,7 +53,7 @@ elif [ "$is_rhel" = true ]; then | ||||
|     yum localinstall -y https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-latest-x86_64/pgdg-redhat10-10-2.noarch.rpm | ||||
|     yum localinstall -y https://packages.groonga.org/centos/groonga-release-latest.noarch.rpm | ||||
| else | ||||
|     # 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" | ||||
| fi | ||||
|   | ||||
| @@ -107,6 +107,8 @@ elif vendor == "neon" and os_version == "20.04":  # KDE Neon | ||||
|     POSTGRESQL_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": | ||||
|   | ||||
		Reference in New Issue
	
	Block a user