10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-10-31 19:23:50 +01:00

Add Downloads and lib

This commit is contained in:
Thomas Applencourt 2015-06-08 14:52:07 +02:00
parent e0f360084e
commit 03864ae351
3 changed files with 4 additions and 2 deletions

0
install/Downloads/.gitignore vendored Normal file
View File

0
lib/.gitignore vendored Normal file
View File

View File

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