From 484a9394f99c9590489fdfccfec9b3998d2e9f7d Mon Sep 17 00:00:00 2001 From: rdb Date: Fri, 14 Jan 2022 10:27:23 +0100 Subject: [PATCH] installpanda: Correct lib dir detection on ArchLinux Eliminates a downstream patch in the AUR [skip ci] --- makepanda/installpanda.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/makepanda/installpanda.py b/makepanda/installpanda.py index 529913aadf..d0111e0049 100644 --- a/makepanda/installpanda.py +++ b/makepanda/installpanda.py @@ -136,6 +136,9 @@ def GetLibDir(): if os.path.isfile('/etc/debian_version'): return GetDebLibDir() + elif os.path.isfile('/etc/arch-release'): + # ArchLinux has lib64, but it is a symlink to lib. + return "lib" else: # Okay, maybe we're on an RPM-based system? return GetRPMLibDir()