mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
fail
This commit is contained in:
parent
9a8cc12dc2
commit
9836c66462
1 changed files with 2 additions and 2 deletions
|
@ -189,8 +189,8 @@ def app_install(app, domain, path='/', label=None, mode='private'):
|
||||||
if not lvl(manifest, 'yunohost', 'multi_instance') or not is_true(manifest['yunohost']['multi_instance']):
|
if not lvl(manifest, 'yunohost', 'multi_instance') or not is_true(manifest['yunohost']['multi_instance']):
|
||||||
raise YunoHostError(1, _("App is already installed"))
|
raise YunoHostError(1, _("App is already installed"))
|
||||||
|
|
||||||
if domain +'.d' in listdir(a2_settings_path):
|
if domain +'.d' in os.listdir(a2_settings_path):
|
||||||
conf_list = listdir(a2_settings_path +'/'+ domain + '.d')
|
conf_list = os.listdir(a2_settings_path +'/'+ domain + '.d')
|
||||||
domain_app_list = []
|
domain_app_list = []
|
||||||
for conf in conf_list:
|
for conf in conf_list:
|
||||||
if '.app.conf' in conf:
|
if '.app.conf' in conf:
|
||||||
|
|
Loading…
Add table
Reference in a new issue