Commit f1d10ea7ae11cd18462644364bf45bd362656f44
Committed by
Alexandre Barbosa
1 parent
91c6731c
Exists in
master
and in
39 other branches
Update install_solr.sh
Signed-off-by: Gustavo Jaruga <darksshades@gmail.com>
Showing
1 changed file
with
6 additions
and
6 deletions
Show diff stats
ci/install_solr.sh
... | ... | @@ -8,14 +8,14 @@ download() { |
8 | 8 | FILE="$2.tgz" |
9 | 9 | if [ -f $FILE ]; |
10 | 10 | then |
11 | - echo "File $FILE exists." | |
12 | - tar -zxf $FILE | |
11 | + echo "File $FILE exists." | |
12 | + tar -zxf $FILE | |
13 | 13 | else |
14 | - echo "Downloading solr from $1..." | |
15 | - curl -O $1 | |
16 | - tar -zxf $FILE | |
14 | + echo "File $FILE does not exist. Downloading solr from $1..." | |
15 | + curl -O $1 | |
16 | + tar -zxf $FILE | |
17 | 17 | fi |
18 | - echo "Downloaded" | |
18 | + echo "Downloaded!" | |
19 | 19 | } |
20 | 20 | |
21 | 21 | is_solr_up(){ | ... | ... |