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
292000ec54
commit
6d8a89dcf8
1 changed files with 1 additions and 3 deletions
|
@ -267,7 +267,6 @@ def tools_update():
|
||||||
Update distribution
|
Update distribution
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
process = Popen("/usr/local/bin/checkupdate", stdout=PIPE)
|
process = Popen("/usr/local/bin/checkupdate", stdout=PIPE)
|
||||||
stdout, stderr = process.communicate()
|
stdout, stderr = process.communicate()
|
||||||
if process.returncode == 1:
|
if process.returncode == 1:
|
||||||
|
@ -282,7 +281,7 @@ def tools_changelog():
|
||||||
Show Changelog
|
Show Changelog
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
win_msg(_("TODO Show Changelog"))
|
||||||
|
|
||||||
|
|
||||||
def tools_upgrade():
|
def tools_upgrade():
|
||||||
|
@ -290,7 +289,6 @@ def tools_upgrade():
|
||||||
Upgrade distribution
|
Upgrade distribution
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
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 /etc/yunohost/upgrade')
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Reference in a new issue