Updates Main.hs to work with new rmTool.
This commit is contained in:
parent
0b959c56fb
commit
d09adf9159
@ -1702,11 +1702,8 @@ Make sure to clean up #{tmpdir} afterwards.|])
|
|||||||
else putStrLn uri' >> pure ExitSuccess
|
else putStrLn uri' >> pure ExitSuccess
|
||||||
|
|
||||||
Nuke -> do
|
Nuke -> do
|
||||||
putStrLn "Initiating Nuclear Sequence... "
|
|
||||||
lInstalled <- runLogger . flip runReaderT appstate $ listVersions Nothing (Just ListInstalled)
|
lInstalled <- runLogger . flip runReaderT appstate $ listVersions Nothing (Just ListInstalled)
|
||||||
forM_ lInstalled $ runLogger . flip runReaderT appstate . rmTool
|
forM_ lInstalled $ runRm . rmTool
|
||||||
putStrLn "Nuking in 3...2...1"
|
|
||||||
putStrLn "BOOM!"
|
|
||||||
pure ExitSuccess
|
pure ExitSuccess
|
||||||
|
|
||||||
case res of
|
case res of
|
||||||
|
Loading…
Reference in New Issue
Block a user