mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
parse_lsb_release: Fix vendor name matching for CentOS.
This commit is contained in:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user