diff options
author | Andreas Maunz <andreas@maunz.de> | 2011-03-31 10:14:55 +0200 |
---|---|---|
committer | Andreas Maunz <andreas@maunz.de> | 2011-03-31 10:14:55 +0200 |
commit | 366740686f20cac6b69e161b7cd628b51351cfb9 (patch) | |
tree | 83b81de9522a126afa141de6a099a183c14b6e35 /redis.sh | |
parent | deeb51ccd22ee90754e05cdb469d0f6b9b842270 (diff) |
redis.sh
Diffstat (limited to 'redis.sh')
-rwxr-xr-x | redis.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -42,11 +42,11 @@ fi if ! $REDIS_DONE; then echo "Need root password: " - echo "vm.overcommit_memory = 1" | sudo tee -a /etc/sysctl.conf + echo "vm.overcommit_memory = 1" | sudo tee -a /etc/sysctl.conf >>$LOG 2>&1 cd $HOME URI="http://redis.googlecode.com/files/redis-$REDIS_VER.tar.gz" - if ! $WGET -O - "$URI" | tar zxv >>$LOG 2 >&1; then + if ! $WGET -O - "$URI" | tar zxv >>$LOG 2>&1; then printf "%25s%15s\n" "'Download'" "FAIL" fi printf "%25s%15s\n" "'Download'" "DONE" |