From be3be779150ea4e7afe8f3fed7c35a9f6bb1392a Mon Sep 17 00:00:00 2001 From: lamasters Date: Sat, 13 Jul 2024 13:50:32 -0700 Subject: [PATCH] Add Linux Mint to `getdeps` Debian package manager options Summary: X-link: https://github.com/facebookincubator/zstrong/pull/909 Linux Mint is based on Ubuntu and installs correctly with the same options. This adds it to the supported versions so that running `sudo ./install-system-packages.sh` succeeds. X-link: https://github.com/facebook/watchman/pull/1234 Reviewed By: chadaustin Differential Revision: D59666084 Pulled By: genevievehelsel fbshipit-source-id: cfdee239be6358d4c8e2f1154391159a40ef91f4 --- build/fbcode_builder/getdeps/platform.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/fbcode_builder/getdeps/platform.py b/build/fbcode_builder/getdeps/platform.py index f258f3994..9285e8320 100644 --- a/build/fbcode_builder/getdeps/platform.py +++ b/build/fbcode_builder/getdeps/platform.py @@ -272,7 +272,7 @@ def get_package_manager(self): return "homebrew" if self.distro in ("fedora", "centos", "centos_stream", "rocky"): return "rpm" - if self.distro.startswith(("debian", "ubuntu", "pop!_os")): + if self.distro.startswith(("debian", "ubuntu", "pop!_os", "mint")): return "deb" return None