Commit 4faac360 authored by Alex Hornby's avatar Alex Hornby Committed by Facebook GitHub Bot

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
parent fae3a56c
......@@ -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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment