1
0
mirror of https://github.com/facebook/proxygen.git synced 2025-08-08 18:02:05 +03:00

fix distro name

Summary: Missed this when switching from spaces to underscores in distro names

Reviewed By: krallin

Differential Revision: D32693527

fbshipit-source-id: 658504d76c96defd3f1a217ada8b05f99c841ede
This commit is contained in:
Alex Hornby
2021-11-30 01:48:28 -08:00
committed by Facebook GitHub Bot
parent ad7cfeac2c
commit aca0bd742b

View File

@@ -99,7 +99,7 @@ class HostType(object):
def get_package_manager(self): def get_package_manager(self):
if not self.is_linux(): if not self.is_linux():
return None return None
if self.distro in ("fedora", "centos", "centos stream"): if self.distro in ("fedora", "centos", "centos_stream"):
return "rpm" return "rpm"
if self.distro.startswith(("debian", "ubuntu")): if self.distro.startswith(("debian", "ubuntu")):
return "deb" return "deb"