diff options
| author | Joey Hess <joeyh@joeyh.name> | 2015-03-12 16:34:44 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2015-03-12 16:34:44 -0400 |
| commit | f2750857b84a700db5bba992aa5d5e2e3c49cce7 (patch) | |
| tree | 6581edb69ffdaea5432b64e311f148b272a5311c /src | |
| parent | df203684e6fc9c4cf7e20ba5c395d59f49d5b16b (diff) | |
propellor spin
Diffstat (limited to 'src')
| -rw-r--r-- | src/Propellor/Property/SiteSpecific/JoeySites.hs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Propellor/Property/SiteSpecific/JoeySites.hs b/src/Propellor/Property/SiteSpecific/JoeySites.hs index 7c6fd0e6..cea4a853 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)" |
