Commit f1d10ea7ae11cd18462644364bf45bd362656f44

Authored by Gust
Committed by Alexandre Barbosa
1 parent 91c6731c

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,14 +8,14 @@ download() {
8 FILE="$2.tgz" 8 FILE="$2.tgz"
9 if [ -f $FILE ]; 9 if [ -f $FILE ];
10 then 10 then
11 - echo "File $FILE exists."  
12 - tar -zxf $FILE 11 + echo "File $FILE exists."
  12 + tar -zxf $FILE
13 else 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 fi 17 fi
18 - echo "Downloaded" 18 + echo "Downloaded!"
19 } 19 }
20 20
21 is_solr_up(){ 21 is_solr_up(){