From f4005fddc99c4d98a7852f687eb46f9479254cb4 Mon Sep 17 00:00:00 2001 From: titoko Date: Mon, 25 Nov 2013 18:44:20 +0100 Subject: [PATCH 1/2] Update yunohost_app.py yunohost_remove is not a file! --- yunohost_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yunohost_app.py b/yunohost_app.py index a4e32318..d3e39b03 100644 --- a/yunohost_app.py +++ b/yunohost_app.py @@ -454,7 +454,7 @@ def app_remove(app): pass if os.path.exists(app_setting_path): shutil.rmtree(app_setting_path) - os.remove('/tmp/yunohost_remove') + os.system('rm -R /tmp/yunohost_remove') app_ssowatconf() win_msg(_("App removed: ")+ app) From 297e92996ad9e2b6a000f16469991f4fffabfd6a Mon Sep 17 00:00:00 2001 From: titoko Date: Mon, 25 Nov 2013 19:06:06 +0100 Subject: [PATCH 2/2] Update yunohost_app.py use shutil --- yunohost_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yunohost_app.py b/yunohost_app.py index d3e39b03..5ba9c169 100644 --- a/yunohost_app.py +++ b/yunohost_app.py @@ -454,7 +454,7 @@ def app_remove(app): pass if os.path.exists(app_setting_path): shutil.rmtree(app_setting_path) - os.system('rm -R /tmp/yunohost_remove') + shutil.rmtree('/tmp/yunohost_remove') app_ssowatconf() win_msg(_("App removed: ")+ app)