Update yunohost_tools.py

This commit is contained in:
abeudin 2014-03-13 16:18:55 +01:00
parent f40f386add
commit 9452c95dc6

View file

@ -307,7 +307,7 @@ def tools_upgrade():
else: else:
raise YunoHostError(17, _("Error during upgrade")) raise YunoHostError(17, _("Error during upgrade"))
elif os.path.isfile('/tmp/yunohost/update_status'): elif os.path.isfile('/tmp/yunohost/update_status'):
os.system('at now -f /etc/yunohost/upgrade') os.system('at now -f /usr/share/yunohost/upgrade')
win_msg( _("Upgrade in progress")) win_msg( _("Upgrade in progress"))
else: else:
raise YunoHostError(17, _("Launch update before upgrade")) raise YunoHostError(17, _("Launch update before upgrade"))