Permalink
Browse files

Merge pull request #5 from solidsnack/master

Simplify use of Bash script for setup
  • Loading branch information...
2 parents 894607b + 17843e9 commit 855ae91a991b50457d6818e7832fa5fd738ce3c9 @snoyberg committed Dec 29, 2012
Showing with 4 additions and 3 deletions.
  1. +1 −1 README.md
  2. +3 −2 setup-keter.sh
View
@@ -4,7 +4,7 @@ Deployment system for Yesod (and other Haskell) web apps.
Do get Keter up-and-running quickly on an Ubuntu system, run:
- wget -O - https://raw.github.com/snoyberg/keter/master/setup-keter.sh | bash -ex
+ wget -O - https://raw.github.com/snoyberg/keter/master/setup-keter.sh | bash
(Note: you may need to run the above command twice, if the shell exits after
`apt-get` but before running the rest of its instructions.) This will download
View
@@ -1,4 +1,5 @@
-#!/bin/bash -ex
+#!/bin/bash
+set -o errexit -o nounset -o xtrace
sudo apt-get install postgresql haskell-platform
@@ -39,4 +40,4 @@ sudo mv /tmp/keter.conf /etc/init
sudo start keter
sudo mkdir -p /opt/keter/incoming
-sudo chown $USER /opt/keter/incoming
+sudo chown "$USER" /opt/keter/incoming

0 comments on commit 855ae91

Please sign in to comment.