From b508bb52fd3c7e9862c0475d052deb5474be2e0c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 11 Mar 2015 22:31:45 -0400 Subject: propellor spin --- src/Propellor/Property/SiteSpecific/JoeySites.hs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/Propellor/Property/SiteSpecific') diff --git a/src/Propellor/Property/SiteSpecific/JoeySites.hs b/src/Propellor/Property/SiteSpecific/JoeySites.hs index c84b0dca..1abad06f 100644 --- a/src/Propellor/Property/SiteSpecific/JoeySites.hs +++ b/src/Propellor/Property/SiteSpecific/JoeySites.hs @@ -26,13 +26,14 @@ scrollBox :: Property HasInfo scrollBox = propertyList "scroll shell box" $ props & alias "scroll.joeyh.name" & User.accountFor "scroll" - & Git.cloned "root" "git://git.kitenet.net/scroll" (d "scroll") Nothing + & Git.cloned "scroll" "git://git.kitenet.net/scroll" (d "scroll") Nothing & Apt.installed ["ghc", "make", "cabal-install", "libghc-vector-dev", "libghc-bytestring-dev", "libghc-mtl-dev", "libghc-ncurses-dev", "libghc-random-dev", "libghc-monad-loops-dev", "libghc-ifelse-dev", "libghc-case-insensitive-dev"] - & scriptProperty + & userScriptProperty "scroll" [ "cd " ++ d "scroll" + , "git pull" , "cabal configure" , "make" ] @@ -40,7 +41,7 @@ scrollBox = propertyList "scroll shell box" $ props [ "#!/bin/sh" , "set -e" , "echo Preparing to run scroll!" - , "cd " ++ d "scroll" + , "cd " ++ d , "mkdir -p tmp" , "TMPDIR= t=$(tempfile -d tmp)" , "rm -f \"$t\"" -- cgit v1.2.3