mirror of
https://github.com/facebook/proxygen.git
synced 2025-08-07 07:02:53 +03:00
automation should use apt-get instead of apt
Summary: Automation should use `apt-get` instead of `apt`, as `apt` does not have a stable interface. This fixes a warning when running getdeps.py on recent Ubuntu: ``` WARNING: apt does not have a stable CLI interface. Use with caution in scripts. ``` Reviewed By: fanzeyi Differential Revision: D39031719 fbshipit-source-id: 54a0fe51ce159174b089fc446e99a4ab5d69d626
This commit is contained in:
committed by
Facebook GitHub Bot
parent
b9d11edaa8
commit
5d10b9a536
@@ -414,7 +414,7 @@ class InstallSysDepsCmd(ProjectCmdBase):
|
||||
elif manager == "deb":
|
||||
packages = sorted(set(all_packages["deb"]))
|
||||
if packages:
|
||||
cmd_args = ["apt", "install", "-y"] + packages
|
||||
cmd_args = ["apt-get", "install", "-y"] + packages
|
||||
elif manager == "homebrew":
|
||||
packages = sorted(set(all_packages["homebrew"]))
|
||||
if packages:
|
||||
|
Reference in New Issue
Block a user