From 706880f03c3336d9d6cf9852fe43b3ca27c1e092 Mon Sep 17 00:00:00 2001 From: abeudin Date: Wed, 12 Mar 2014 10:13:06 +0100 Subject: [PATCH] Update yunohost_tools.py --- yunohost_tools.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yunohost_tools.py b/yunohost_tools.py index 134b9b8b..ebe67101 100644 --- a/yunohost_tools.py +++ b/yunohost_tools.py @@ -267,7 +267,7 @@ def tools_update(): Update distribution """ - process = Popen("./bash/checkupdate", stdout=PIPE) + process = Popen("/usr/bin/checkupdate", stdout=PIPE) stdout, stderr = process.communicate() if process.returncode == 1: win_msg( _("Not upgrade found")) @@ -293,6 +293,6 @@ def tools_upgrade(): """ if os.path.isfile('/tmp/update_status'): - os.system('at now -f /usr/share/pyshared/yunohost-cli/upgrade') + os.system('at now -f /etc/yunohost/upgrade') else: raise YunoHostError(17, _("Launch update before upgrade"))