From 2100a0349a2c0e072cb62850a9cb66c51e262e8f Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 31 Mar 2014 01:16:01 -0400 Subject: propellor spin --- Propellor/Engine.hs | 2 ++ config.hs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Propellor/Engine.hs b/Propellor/Engine.hs index 25870ae8..29c635e0 100644 --- a/Propellor/Engine.hs +++ b/Propellor/Engine.hs @@ -23,6 +23,7 @@ ensureProperties' ps = ensure ps NoChange ensure [] rs = return rs ensure (l:ls) rs = do setTitle $ propertyDesc l + hFlush stdout r <- ensureProperty l clearFromCursorToLineBeginning setCursorColumn 0 @@ -38,6 +39,7 @@ ensureProperties' ps = ensure ps NoChange setSGR [SetColor Foreground Vivid Green] putStrLn "done" setSGR [] + hFlush stdout ensure ls (combineResult r rs) warningMessage :: String -> IO () diff --git a/config.hs b/config.hs index c860f9a2..e0dc485d 100644 --- a/config.hs +++ b/config.hs @@ -35,7 +35,7 @@ getProperties hostname@"clam.kitenet.net" = Just , Tor.isBridge , JoeySites.oldUseNetshellBox , Docker.configured - , Apt.installed ["git-annex"] + , Apt.installed ["git-annex", "mtr"] -- This is not an important system so I don't want to need to -- manually upgrade it. , Apt.unattendedUpgrades True -- cgit v1.2.3