mirror of
https://github.com/LCPQ/quantum_package
synced 2025-01-02 17:45:53 +01:00
Add Downloads and lib
This commit is contained in:
parent
e0f360084e
commit
03864ae351
0
install/Downloads/.gitignore
vendored
Normal file
0
install/Downloads/.gitignore
vendored
Normal file
0
lib/.gitignore
vendored
Normal file
0
lib/.gitignore
vendored
Normal 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):
|
||||
|
Loading…
Reference in New Issue
Block a user