From d01d6c738fb121848cb84a4b4f9099a5b2fb37c4 Mon Sep 17 00:00:00 2001 From: Vitaly Lipatov Date: Sat, 21 Nov 2015 14:11:55 +0300 Subject: [PATCH] improve paths to lib dirs for RAR plugins search --- patoolib/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patoolib/util.py b/patoolib/util.py index a9b6f0c..7e6f1eb 100644 --- a/patoolib/util.py +++ b/patoolib/util.py @@ -575,7 +575,7 @@ def p7zip_supports_rar(): # the subdirectory and codec name codecname = 'p7zip/Codecs/Rar29.so' # search canonical user library dirs - for libdir in ('/usr/lib', '/usr/local/lib'): + for libdir in ('/usr/lib', '/usr/local/lib', '/usr/lib64', '/usr/local/lib64', '/usr/lib/i386-linux-gnu', '/usr/lib/x86_64-linux-gnu'): fname = os.path.join(libdir, codecname) if os.path.exists(fname): return True