some easy createDirectoryUnder conversions
This commit is contained in:
parent
ebbc5004fa
commit
6d58ca94d6
12 changed files with 44 additions and 30 deletions
|
@ -48,7 +48,7 @@ runHooks r starthook stophook a = do
|
|||
dir <- fromRepo gitAnnexRemotesDir
|
||||
let lck = dir </> remoteid ++ ".lck"
|
||||
whenM (notElem lck . M.keys <$> getLockCache) $ do
|
||||
liftIO $ createDirectoryIfMissing True dir
|
||||
createAnnexDirectory dir
|
||||
firstrun lck
|
||||
a
|
||||
where
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue