10
0
mirror of https://github.com/LCPQ/quantum_package synced 2025-03-14 04:42:14 +01:00

Fix zlib-flate

This commit is contained in:
Thomas Applencourt 2015-06-08 14:52:07 +02:00
parent e0f360084e
commit cee02e6839

View File

@ -144,13 +144,15 @@ def check_python():
def check_avabiliy(binary):
if binary == "zlib":
binary = "zlib-flate"
binary_name = "zlib-flate"
else:
binary_name = binary
if binary == "python":
check_python()
try:
return check_output(["which", binary])
return check_output(["which", binary_name])
except subprocess.CalledProcessError:
default_path = d_info[binary].default_path
if os.path.exists(default_path):