Fix fallback dependency detection
This commit is contained in:
@@ -1009,6 +1009,10 @@ def cli_executable_exists(command):
|
||||
return bool(shutil.which(text) or (Path(text).exists() and os.access(text, os.X_OK)))
|
||||
|
||||
|
||||
def cli_executable_exists_any(*commands):
|
||||
return any(cli_executable_exists(command) for command in commands)
|
||||
|
||||
|
||||
def printable_command(command):
|
||||
return " ".join(sh_quote(part) for part in command)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user