Run standalone install process when the assistant is started (was only being run when the webapp was opened).

I had thought that this was already done, but apparently not. There may
have been a reversion around version 5.20140606. Anna's laptop had its
desktop menu file etc having that version despite having upgraded git-annex
to a newer version. However, I could not find any commits that removed a
call to ensureInstalled.
This commit is contained in:
Joey Hess 2014-06-30 17:13:08 -04:00
parent d06aa50c58
commit 2e698ebcd4
2 changed files with 4 additions and 0 deletions

View file

@ -14,6 +14,7 @@ import Annex.Init
import Config.Files
import qualified Build.SysConfig
import Utility.HumanTime
import Assistant.Install
import System.Environment
@ -50,6 +51,7 @@ start foreground stopdaemon autostart startdelay
liftIO $ autoStart startdelay
stop
| otherwise = do
liftIO ensureInstalled
ensureInitialized
Command.Watch.start True foreground stopdaemon startdelay