From 42b427f6fc711254ac9ff1f047568f3584a406f7 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 24 Nov 2013 13:20:58 -0400 Subject: add support for fully automatic upgrades The Upgrader avoids checking for upgrades on startup when it was just upgraded. This avoids an upgrade loop if something goes wrong. One example of something going wrong would be if the upgrade info file and the distribution file get out of sync (or the distribution file is cached in a proxy), so it thinks it has upgraded to a new version, but has really not. --- Assistant.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Assistant.hs') diff --git a/Assistant.hs b/Assistant.hs index 6b6b98ebc..d4786f99a 100644 --- a/Assistant.hs +++ b/Assistant.hs @@ -153,7 +153,7 @@ startDaemon assistant foreground startdelay cannotrun listenhost startbrowser = #endif , assist $ netWatcherThread , assist $ upgraderThread urlrenderer - , assist $ upgradWatcherThread urlrenderer + , assist $ upgradeWatcherThread urlrenderer , assist $ netWatcherFallbackThread , assist $ transferScannerThread urlrenderer , assist $ cronnerThread urlrenderer -- cgit v1.2.3