tarina

git clone https://git.tarina.org/tarina
Log | Files | Refs | README | LICENSE

commit 7ef90ddc2c1c55a270b234de5edadf5e84eb2023
parent ebbb6cd8afd84d7ef32cb68206861b95addc06fb
Author: rob <rob@tarina.org>
Date:   Wed,  8 May 2019 23:28:53 +0300

update should now work

Diffstat:
MVERSION | 2+-
Mtarina.py | 5+++--
2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/VERSION b/VERSION @@ -1,2 +1,2 @@ -0.991 +0.992 Leone diff --git a/tarina.py b/tarina.py @@ -316,13 +316,14 @@ def update(tarinaversion, tarinavername): time.sleep(4) timeleft = 0 while timeleft < 5: - writemessage('Updating in ' + str(5 - timeleft) + ' seconds.') + writemessage('Updating in ' + str(3 - timeleft) + ' seconds.') time.sleep(1) timeleft = timeleft + 1 writemessage('Updating...') os.system('git pull') + writemessage('Update done, will now reboot Tarina') + waitforanykey() writemessage('Hold on rebooting Tarina...') - time.sleep(3) os.system('reboot') writemessage('Version is up-to-date!') return tarinaversion, tarinavername