Crappy restarting

This commit is contained in:
Ruud committed 2011-11-07 22:19:13 +01:00
1 parent d0da98a86b
commit 4f0006db9f
2 files changed
+24 -7

No files matched your search

+2 -1
View File
@@ -79,7 +79,8 @@ class Updater(Plugin):
if local.getDate() < remote.getDate():
if self.conf('automatic') and not self.update_failed:
self.doUpdate()
if self.doUpdate():
fireEvent('app.crappy_restart')
else:
self.update_version = {
'hash': remote.hash[:8],