mirror of https://github.com/zulip/zulip.git
provision: Drop Xenial and stretch support.
This commit is contained in:
parent
f25aacdf66
commit
8944e0ad53
|
@ -81,12 +81,8 @@ else:
|
||||||
distro_info = parse_os_release()
|
distro_info = parse_os_release()
|
||||||
vendor = distro_info['ID']
|
vendor = distro_info['ID']
|
||||||
os_version = distro_info['VERSION_ID']
|
os_version = distro_info['VERSION_ID']
|
||||||
if vendor == "debian" and os_version == "9": # stretch
|
if vendor == "debian" and os_version == "10": # buster
|
||||||
POSTGRES_VERSION = "9.6"
|
|
||||||
elif vendor == "debian" and os_version == "10": # buster
|
|
||||||
POSTGRES_VERSION = "11"
|
POSTGRES_VERSION = "11"
|
||||||
elif vendor == "ubuntu" and os_version == "16.04": # xenial
|
|
||||||
POSTGRES_VERSION = "9.5"
|
|
||||||
elif vendor == "ubuntu" and os_version in ["18.04", "18.10"]: # bionic, cosmic
|
elif vendor == "ubuntu" and os_version in ["18.04", "18.10"]: # bionic, cosmic
|
||||||
POSTGRES_VERSION = "10"
|
POSTGRES_VERSION = "10"
|
||||||
elif vendor == "ubuntu" and os_version in ["19.04", "19.10"]: # disco, eoan
|
elif vendor == "ubuntu" and os_version in ["19.04", "19.10"]: # disco, eoan
|
||||||
|
|
Loading…
Reference in New Issue