diff options
| -rw-r--r-- | Propellor/Property/SiteSpecific/JoeySites.hs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Propellor/Property/SiteSpecific/JoeySites.hs b/Propellor/Property/SiteSpecific/JoeySites.hs index f409b09b..5a2e1644 100644 --- a/Propellor/Property/SiteSpecific/JoeySites.hs +++ b/Propellor/Property/SiteSpecific/JoeySites.hs @@ -192,10 +192,11 @@ annexRsyncServer = combineProperties "rsync server for git-annex autobuilders" twitRss :: Property twitRss = combineProperties "twitter rss" [ Git.cloned "joey" "git://git.kitenet.net/twitrss.git" dir Nothing - , check (doesFileExist $ dir </> "twitRss") $ userScriptProperty "joey" - [ "cd " ++ dir - , "ghc --make twitRss" - ] + , check (not <$> doesFileExist (dir </> "twitRss")) $ + userScriptProperty "joey" + [ "cd " ++ dir + , "ghc --make twitRss" + ] ] where dir = "/srv/web/tmp.kitenet.net/twitrss" |
