Commit 95a4fc5eca1fc1d4c6c0a2738b00042eb98d0f75
1 parent
ad76455b22
Exists in
master
up
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
install.sh
... | ... | @@ -133,7 +133,7 @@ |
133 | 133 | echo -e "iconv : \t ${txtgrn}OK${txtrst}" |
134 | 134 | |
135 | 135 | ## SRI LM |
136 | -if [ -z "$SRILM" ] && [ -z "$MACHINE_TYPE" ] | |
136 | +if [ -z "$SRILM" ] || [ -z "$MACHINE_TYPE" ] | |
137 | 137 | then |
138 | 138 | echo -e "${txtred}ERROR${txtrst} SRILM toolkit variables are not defined (SRILM and MACHINE_TYPE)\n You have to install SRILM Toolkit\n" |
139 | 139 | exit 1; |
... | ... | @@ -214,7 +214,7 @@ |
214 | 214 | scp -r ${username}@nyx:/local/OTMEDIA/OTMEDIA_DATA/SOLR/otmedia-2013-04.tar.gz $OTMEDIA_HOME/tools/SOLR |
215 | 215 | echo -e "Unzip SOLR DB\r" |
216 | 216 | res=0 |
217 | - #res = $(tar -xvzf "$OTMEDIA_HOME/tools/SOLR/otmedia-2013-04.tar.gz" "$OTMEDIA_HOME/tools/SOLR/") | |
217 | + res = $(tar -xvzf "$OTMEDIA_HOME/tools/SOLR/otmedia-2013-04.tar.gz" "$OTMEDIA_HOME/tools/SOLR/") | |
218 | 218 | if [ $res -eq 2 ]; then echo " ${txtred}NOT OK${txtrst}"; |
219 | 219 | else echo " ${txtgrn}OK${txtrst}"; fi |
220 | 220 | else |