propellor spin

This commit is contained in:
Joey Hess 2014-03-30 22:23:18 -04:00
parent 4357d61174
commit bb0425975c
2 changed files with 2 additions and 2 deletions

View File

@ -32,4 +32,4 @@ cmdProperty' cmd params env = Property desc $ do
scriptProperty :: [String] -> Property
scriptProperty script = cmdProperty "sh" [Param "-c", Param shellcmd]
where
shellcmd = intercalate " && " script
shellcmd = intercalate " ; " ("set -e" : script)

View File

@ -9,7 +9,7 @@ import qualified Property.Apt as Apt
oldUseNetshellBox :: Property
oldUseNetshellBox = check (not <$> Apt.isInstalled "oldusenet") $
propertyList ("olduse.net shellbox")
[ Apt.installed (words "build-essential git ghc libghc-strptime-dev libghc-hamlet-dev libghc-ifelse-dev libghc-hxt-dev libghc-utf8-string-dev libghc-missingh-dev libghc-sha-dev")
[ Apt.installed (words "build-essential debhelper git ghc libghc-strptime-dev libghc-hamlet-dev libghc-ifelse-dev libghc-hxt-dev libghc-utf8-string-dev libghc-missingh-dev libghc-sha-dev")
`describe` "olduse.net build deps"
, scriptProperty
[ "git clone git://olduse.net/ /root/tmp/oldusenet/source"