do not re-download and rebuild redis if it already exists (#10)

This commit is contained in:
Philipp Moritz
2016-09-18 13:57:27 -07:00
committed by Robert Nishihara
parent b18f214d55
commit c238ae4aa0
+6 -4
View File
@@ -1,4 +1,6 @@
wget http://download.redis.io/releases/redis-3.2.3.tar.gz
tar xvfz redis-3.2.3.tar.gz
cd redis-3.2.3
make
if [ ! -f redis-3.2.3/src/redis-server ]; then
wget http://download.redis.io/releases/redis-3.2.3.tar.gz
tar xvfz redis-3.2.3.tar.gz
cd redis-3.2.3
make
fi