Crappy restarting

This commit is contained in:
Ruud
2011-11-07 22:19:13 +01:00
parent d0da98a86b
commit 4f0006db9f
2 changed files with 24 additions and 7 deletions
+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],