stop removing privdata, it's no longer in master

This commit is contained in:
Joey Hess 2014-08-19 15:04:12 -04:00
parent 7d59dee469
commit 71ccd256da
1 changed files with 2 additions and 7 deletions

View File

@ -56,13 +56,8 @@ wrapper args propellordir propellorbin = do
makeRepo = do
putStrLn $ "Setting up your propellor repo in " ++ propellordir
putStrLn ""
ifM (doesFileExist localrepo <||> doesDirectoryExist localrepo)
( void $ boolSystem "git" [Param "clone", File localrepo, File propellordir]
, do
void $ boolSystem "git" [Param "clone", Param netrepo, File propellordir]
whenM (doesDirectoryExist (propellordir </> "privdata")) $
mapM_ nukeFile =<< dirContents (propellordir </> "privdata")
)
localexists <- doesFileExist localrepo <||> doesDirectoryExist localrepo
void $ boolSystem "git" [Param "clone", File (if localexists then localrepo else netrepo). File propellordir]
buildruncfg = do
changeWorkingDirectory propellordir
ifM (boolSystem "make" [Param "build"])