summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-01-29 15:33:35 -0500
committerEvan Prodromou <evan@status.net>2010-01-29 15:33:35 -0500
commit2a054a50fb404b01512a00872ab0f68481b0f470 (patch)
treeb04d9f0e22995db65ffc1ae96af12bc2c85969a1
parentab3e90949ff5865780c909a0dd957ae2343f7e85 (diff)
live fast, die young in bash scripts
-rwxr-xr-xscripts/delete_status_network.sh4
-rwxr-xr-xscripts/setup_status_network.sh4
2 files changed, 8 insertions, 0 deletions
diff --git a/scripts/delete_status_network.sh b/scripts/delete_status_network.sh
index f55f1486b..3a8ebdcfd 100755
--- a/scripts/delete_status_network.sh
+++ b/scripts/delete_status_network.sh
@@ -1,5 +1,9 @@
#!/bin/bash
+# live fast! die young!
+
+set -e
+
source /etc/statusnet/setup.cfg
export nickname=$1
diff --git a/scripts/setup_status_network.sh b/scripts/setup_status_network.sh
index f502a169a..4ad808011 100755
--- a/scripts/setup_status_network.sh
+++ b/scripts/setup_status_network.sh
@@ -1,5 +1,9 @@
#!/bin/bash
+# live fast! die young!
+
+set -e
+
source /etc/statusnet/setup.cfg
# setup_status_net.sh mysite 'My Site' '1user' 'owner@example.com' 'Firsty McLastname'