mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
reload ssowat when app_install and app_remove
This commit is contained in:
parent
845c68a808
commit
c8bc95e645
1 changed files with 2 additions and 1 deletions
|
@ -418,6 +418,7 @@ def app_install(app, label=None, args=None):
|
|||
os.system('chmod -R 400 '+ app_setting_path)
|
||||
os.system('chown -R root: '+ app_setting_path)
|
||||
os.system('chown -R admin: '+ app_setting_path +'/scripts')
|
||||
app_ssowatconf()
|
||||
win_msg(_("Installation complete"))
|
||||
else:
|
||||
#TODO: display script fail messages
|
||||
|
@ -454,7 +455,7 @@ def app_remove(app):
|
|||
|
||||
if os.path.exists(app_setting_path): shutil.rmtree(app_setting_path)
|
||||
os.remove('/tmp/yunohost_remove')
|
||||
|
||||
app_ssowatconf()
|
||||
win_msg(_("App removed: ")+ app)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue