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 :: FilePath -> Handler ()
|
||||||
startFullAssistant path = do
|
startFullAssistant path = do
|
||||||
webapp <- getYesod
|
webapp <- getYesod
|
||||||
liftIO $ makeRepo path False
|
|
||||||
u <- liftIO $ initRepo path Nothing
|
|
||||||
runAnnex () $ setStandardGroup u ClientGroup
|
|
||||||
url <- liftIO $ do
|
url <- liftIO $ do
|
||||||
|
makeRepo path False
|
||||||
|
u <- initRepo path Nothing
|
||||||
|
inDir path $
|
||||||
|
setStandardGroup u ClientGroup
|
||||||
addAutoStart path
|
addAutoStart path
|
||||||
changeWorkingDirectory path
|
changeWorkingDirectory path
|
||||||
fromJust $ postFirstRun webapp
|
fromJust $ postFirstRun webapp
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue