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:
committed by
Facebook GitHub Bot
parent
ad7cfeac2c
commit
aca0bd742b
@@ -99,7 +99,7 @@ class HostType(object):
|
||||
def get_package_manager(self):
|
||||
if not self.is_linux():
|
||||
return None
|
||||
if self.distro in ("fedora", "centos", "centos stream"):
|
||||
if self.distro in ("fedora", "centos", "centos_stream"):
|
||||
return "rpm"
|
||||
if self.distro.startswith(("debian", "ubuntu")):
|
||||
return "deb"
|
||||
|
Reference in New Issue
Block a user