mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 07:26:29 +00:00
Tiny fix for CheckExternalCommands
This commit is contained in:
parent
ad75b78ce3
commit
bb41ba68dd
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ class CheckExternalCommands(Task):
|
||||||
missing_packages = []
|
missing_packages = []
|
||||||
for command, package in info.host_dependencies.items():
|
for command, package in info.host_dependencies.items():
|
||||||
try:
|
try:
|
||||||
log_check_call(['type ' + command], shell=True)
|
log_check_call(['type', command], shell=True)
|
||||||
except CalledProcessError:
|
except CalledProcessError:
|
||||||
if re.match('^https?:\/\/', package):
|
if re.match('^https?:\/\/', package):
|
||||||
msg = ('The command `{command}\' is not available, '
|
msg = ('The command `{command}\' is not available, '
|
||||||
|
|
Loading…
Add table
Reference in a new issue