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
7f8b1f601b
commit
0d814d2ea1
1 changed files with 1 additions and 1 deletions
|
@ -293,6 +293,6 @@ def tools_upgrade():
|
||||||
|
|
||||||
"""
|
"""
|
||||||
if os.path.isfile('/tmp/update_status'):
|
if os.path.isfile('/tmp/update_status'):
|
||||||
os.system('at now -f /etc/yunohost/upgrade')
|
os.system('at now -f /usr/share/pyshared/yunohost-cli/upgrade')
|
||||||
else:
|
else:
|
||||||
raise YunoHostError(17, _("Launch update before upgrade"))
|
raise YunoHostError(17, _("Launch update before upgrade"))
|
||||||
|
|
Loading…
Add table
Reference in a new issue