mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Update yunohost_tools.py
This commit is contained in:
parent
f40f386add
commit
9452c95dc6
1 changed files with 1 additions and 1 deletions
|
@ -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"))
|
||||||
|
|
Loading…
Reference in a new issue