summaryrefslogtreecommitdiff
path: root/redis.sh
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2011-03-31 12:42:16 +0200
committerAndreas Maunz <andreas@maunz.de>2011-03-31 12:42:16 +0200
commit59f6d70df510eb5e009f71a15ccbf20053ec7975 (patch)
tree432593286a9307daf895973d0b06121b88712647 /redis.sh
parent312d93bcc322fa5aca38f38cd266569aaf18b621 (diff)
all
Diffstat (limited to 'redis.sh')
-rwxr-xr-xredis.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/redis.sh b/redis.sh
index 6f84316..b536f42 100755
--- a/redis.sh
+++ b/redis.sh
@@ -4,6 +4,9 @@
# Author: Christoph Helma, Andreas Maunz.
#
+source ./config.sh
+source ./utils.sh
+
if [ "$(id -u)" = "0" ]; then
echo "This script must be run as non-root." 1>&2
exit 1
@@ -16,8 +19,6 @@ if [ ! -e "$WGET" ]; then
exit 1
fi
-source ./config.sh
-source ./utils.sh
LOG="/tmp/`basename $0`-log.txt"
echo "This installs Redis."