mirror of https://github.com/zulip/zulip.git
parse_lsb_release: Fix vendor name matching for CentOS.
This commit is contained in:
parent
f5c1a69737
commit
105732ab1f
|
@ -329,7 +329,7 @@ def parse_lsb_release():
|
|||
with open('/etc/redhat-release', 'r') as fp:
|
||||
info = fp.read().strip().split(' ')
|
||||
vendor = info[0]
|
||||
if vendor == 'Centos':
|
||||
if vendor == 'CentOS':
|
||||
# E.g. "CentOS Linux release 7.5.1804 (Core)"
|
||||
codename = vendor.lower() + info[3][0]
|
||||
elif vendor == 'Fedora':
|
||||
|
|
Loading…
Reference in New Issue