Browse Source

installpanda: Correct lib dir detection on ArchLinux

Eliminates a downstream patch in the AUR

[skip ci]
rdb 3 years ago
parent
commit
484a9394f9
1 changed files with 3 additions and 0 deletions
  1. 3 0
      makepanda/installpanda.py

+ 3 - 0
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()