mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Update yunohost_app.py
This commit is contained in:
parent
9031dab386
commit
3d9d706822
1 changed files with 1 additions and 1 deletions
|
@ -573,7 +573,7 @@ def _install_app_dependencies(dep_dict):
|
||||||
"""
|
"""
|
||||||
if ('debian' in dep_dict) and (len(dep_dict['debian']) > 0):
|
if ('debian' in dep_dict) and (len(dep_dict['debian']) > 0):
|
||||||
#os.system('apt-get update')
|
#os.system('apt-get update')
|
||||||
if os.system('apt-get install "'+ '" "'.join(dep_dict['debian']) +'"') != 0:
|
if os.system('apt-get install -y "'+ '" "'.join(dep_dict['debian']) +'"') != 0:
|
||||||
raise YunoHostError(1, _("Dependency installation failed: ") + dependency)
|
raise YunoHostError(1, _("Dependency installation failed: ") + dependency)
|
||||||
|
|
||||||
# TODO: Install npm, pip, gem and pear dependencies
|
# TODO: Install npm, pip, gem and pear dependencies
|
||||||
|
|
Loading…
Reference in a new issue