make ./ctl update more verbose

This commit is contained in:
j 2016-01-22 17:57:02 +05:30
parent d5b9697c44
commit b2f5005598
1 changed files with 7 additions and 2 deletions

View File

@ -82,8 +82,13 @@ def command_update(*args):
Update to latest development version
"""
import update
if not (update.download() and update.install()):
print("UPDATE FAILED")
print('Downloading...')
if not update.download():
print('Download failed')
return
print('Installing...')
if not update.install():
print("Installation failed")
def command_postupdate(*args):
"""