mirror of
https://github.com/facebook/proxygen.git
synced 2025-08-07 07:02:53 +03:00
add centos stream support
Summary: Distro name wasn't matching and thus no rpms being installed or used Also improved the error message for unknown systems Reviewed By: farnz Differential Revision: D32139850 fbshipit-source-id: 438278094159f732f6b1de506490b89d2c9cd3f7
This commit is contained in:
committed by
Facebook GitHub Bot
parent
5927e8feba
commit
a8960cfe5f
@@ -366,7 +366,10 @@ class InstallSysDepsCmd(ProjectCmdBase):
|
||||
if packages:
|
||||
run_cmd(["apt", "install", "-y"] + packages)
|
||||
else:
|
||||
print("I don't know how to install any packages on this system")
|
||||
host_tuple = loader.build_opts.host_type.as_tuple_string()
|
||||
print(
|
||||
f"I don't know how to install any packages on this system {host_tuple}"
|
||||
)
|
||||
|
||||
|
||||
@cmd("list-deps", "lists the transitive deps for a given project")
|
||||
|
Reference in New Issue
Block a user