fix setting the group of the first repo created
This commit is contained in:
parent
4e2e08b45a
commit
5d85c1497c
1 changed files with 4 additions and 3 deletions
|
@ -264,10 +264,11 @@ driveList = mapM (gen . mnt_dir) =<< filter sane <$> getMounts
|
|||
startFullAssistant :: FilePath -> Handler ()
|
||||
startFullAssistant path = do
|
||||
webapp <- getYesod
|
||||
liftIO $ makeRepo path False
|
||||
u <- liftIO $ initRepo path Nothing
|
||||
runAnnex () $ setStandardGroup u ClientGroup
|
||||
url <- liftIO $ do
|
||||
makeRepo path False
|
||||
u <- initRepo path Nothing
|
||||
inDir path $
|
||||
setStandardGroup u ClientGroup
|
||||
addAutoStart path
|
||||
changeWorkingDirectory path
|
||||
fromJust $ postFirstRun webapp
|
||||
|
|
Loading…
Add table
Reference in a new issue