forked from LBRYCommunity/lbry-sdk
update daemon
This commit is contained in:
parent
20b516b5fa
commit
9a9a7c9d7a
1 changed files with 10 additions and 4 deletions
|
@ -169,9 +169,12 @@ class LBRYDaemon(xmlrpc.XMLRPC):
|
|||
if git_version == current_version:
|
||||
print "LBRYnet installation version " + current_version[:-1] + " is up to date"
|
||||
return defer.succeed(None)
|
||||
|
||||
print "Update LBRYnet version " + current_version[:-1] + " --> " + git_version[:-1]
|
||||
self.restart_message = "Updates available"
|
||||
else:
|
||||
print "Update LBRYnet to version " + git_version[:-1]
|
||||
self.restart_message = "Updates available"
|
||||
|
||||
return defer.succeed(None)
|
||||
|
||||
def _update_lbrycrdd():
|
||||
|
@ -185,9 +188,12 @@ class LBRYDaemon(xmlrpc.XMLRPC):
|
|||
if git_version == current_version:
|
||||
print "LBRY installation version " + current_version[:-1] + " is up to date"
|
||||
return defer.succeed(None)
|
||||
|
||||
print "Update LBRY version " + current_version[:-1] + " --> " + git_version[:-1]
|
||||
self.restart_message = "Updates available"
|
||||
else:
|
||||
print "Update LBRY to version " + git_version[:-1]
|
||||
self.restart_message = "Updates available"
|
||||
|
||||
return defer.succeed(None)
|
||||
|
||||
d = _check_for_updater()
|
||||
|
|
Loading…
Reference in a new issue