mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +00:00
committed by
Tim Abbott
parent
9de35d98d3
commit
78524d4f87
@@ -425,6 +425,11 @@ def parse_os_release() -> Dict[str, str]:
|
||||
continue
|
||||
k, v = line.split("=", 1)
|
||||
[distro_info[k]] = shlex.split(v)
|
||||
if distro_info["PRETTY_NAME"] == "Debian GNU/Linux bullseye/sid":
|
||||
# This hack can be removed once bullseye releases and reports
|
||||
# its VERSION_ID in /etc/os-release.
|
||||
distro_info["VERSION_CODENAME"] = "bullseye"
|
||||
distro_info["VERSION_ID"] = "11"
|
||||
return distro_info
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user