From e5cd10fc0952da1c51eb7b762fe19d54b2ec1e8d Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Fri, 29 Apr 2022 15:24:17 +0100 Subject: [PATCH 02/12] pacman: Recognise Artix, an Arch derivative --- src/ph_pacman.ml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ph_pacman.ml b/src/ph_pacman.ml index 376b14b..4a1c669 100644 --- a/src/ph_pacman.ml +++ b/src/ph_pacman.ml @@ -26,6 +26,7 @@ open Package_handler let pacman_detect () = Config.pacman <> "no" && Config.fakeroot <> "no" && (Os_release.get_id () = "arch" || + Os_release.get_id () = "artix" || ((stat "/etc/arch-release").st_kind = S_REG && Config.pacman_g2 = "no")) (* not Frugalware with pacman-g2 *) -- 2.37.3