From e812acce3e46b7dd259783fc28c2c65d4ad7a228 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 30 Mar 2014 00:52:02 -0400 Subject: improvements --- Property/GitHome.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Property/GitHome.hs') diff --git a/Property/GitHome.hs b/Property/GitHome.hs index 217e129a..09d21326 100644 --- a/Property/GitHome.hs +++ b/Property/GitHome.hs @@ -11,11 +11,13 @@ import Utility.SafeCommand import Utility.Directory import Utility.Monad import Utility.Exception +import qualified Property.Apt as Apt {- Clones Joey Hess's git home directory, and runs its fixups script. -} installedFor :: UserName -> Property installedFor user = check (not <$> hasGitDir user) $ IOProperty ("githome " ++ user) (go =<< homedir user) + `requires` Apt.installed ["git", "myrepos"] where go Nothing = noChange go (Just home) = do -- cgit v1.3-2-g0d8e