Merge pull request #270 from YunoHost/ssowatconf-on-broken-install-fix-773

[fix] launch ssowatconf at the end of a broken install to avoid sso bad state
This commit is contained in:
Laurent Peuch 2017-03-11 14:40:55 +01:00 committed by GitHub
commit 7acf8bd5a7

View file

@ -573,6 +573,8 @@ def app_install(auth, app, label=None, args=None, no_remove_on_failure=False):
shutil.rmtree(app_setting_path)
shutil.rmtree(extracted_app_folder)
app_ssowatconf(auth)
if install_retcode == -1:
raise MoulinetteError(errno.EINTR,
m18n.g('operation_interrupted'))