From f2750857b84a700db5bba992aa5d5e2e3c49cce7 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 12 Mar 2015 16:34:44 -0400 Subject: [PATCH] propellor spin --- src/Propellor/Property/SiteSpecific/JoeySites.hs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Propellor/Property/SiteSpecific/JoeySites.hs b/src/Propellor/Property/SiteSpecific/JoeySites.hs index 7c6fd0e..cea4a85 100644 --- a/src/Propellor/Property/SiteSpecific/JoeySites.hs +++ b/src/Propellor/Property/SiteSpecific/JoeySites.hs @@ -51,8 +51,11 @@ scrollBox = propertyList "scroll server" $ props ] `onChange` (s `File.mode` (combineModes (ownerWriteMode:readModes ++ executeModes))) & g `File.hasContent` [ "#!/bin/sh" - , "SHELL=/bin/sh script --timing=timing -c ../../scroll/scroll" + , "if ../../scroll/scroll; then" + , "echo Scroll seems to have ended unexpectedly. Possibly a bug.." + , "else" , "echo Thanks for playing scroll! https://joeyh.name/code/scroll/" + , "fi" , "echo Your game was recorded, as ID:$(basename \"$t\")" , "echo if you would like to talk about how it went, email scroll@joeyh.name" , "echo or, type comments below (finish with a dot on its own line)"