From a99acca91a35223fdd7ca19eec29c9ee5316976a Mon Sep 17 00:00:00 2001 From: Kload Date: Tue, 29 Oct 2013 15:16:47 +0000 Subject: [PATCH] Hook bugfix --- yunohost_app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/yunohost_app.py b/yunohost_app.py index 8d9fcc5b..dcbabd27 100644 --- a/yunohost_app.py +++ b/yunohost_app.py @@ -422,6 +422,8 @@ def app_remove(app): raise YunoHostError(22, _("App is not installed")) app_setting_path = apps_setting_path + app + os.system('chown -R admin: '+ app_setting_path +'/scripts') + os.system('chmod -R 700 '+ app_setting_path +'/scripts') #TODO: display fail messages from script if hook_exec(app_setting_path + '/scripts/remove') != 0: