diff --git a/install.sh b/install.sh index 9460c50..8907709 100755 --- a/install.sh +++ b/install.sh @@ -139,6 +139,7 @@ echo -e "SRILM toolkit : \t ${txtgrn}OK${txtrst}" ### Speeral Configuration ### +scp -r rey@nyx:~/OTMEDIA_DATA/Speeral $OTMEDIA_HOME/tools/ echo -e "\t${txtblu}Generating Speeral configuration files :${txtrst}\n" cat $PWD/tools/Speeral/CFG/SpeeralFirstPass.xml.tmp | sed -e "s|[^<]*|$PWD/tools/Speeral/LEX/LEXIQUE_V6.speer|g" \ | sed -e "s|[^<]*|$PWD/tools/Speeral/LM/ML_4gOTMEDIA_LEXIQUE_V6|g" \ @@ -191,8 +192,11 @@ then echo -e "\nTOMCAT : \t ${txtgrn}OK${txtrst}" # SOLR secondly echo -e "\t${txtblu}Install SOLR DB${txtrst}" + echo -e "Download SOLR DB\r" + mkdir -p $OTMEDIA_HOME/tools/SOLR 2> /dev/null + scp -r rey@nyx:~/OTMEDIA_DATA/SOLR/otmedia-2013-04.tar.gz $OTMEDIA_HOME/tools/SOLR echo -e "Unzip SOLR DB\r" - #res = $(tar -xvzf "$OTMEDIA_HOME/tools/SOLR/otmedia-2013-04.tgz" "$OTMEDIA_HOME/tools/SOLR/") + #res = $(tar -xvzf "$OTMEDIA_HOME/tools/SOLR/otmedia-2013-04.tar.gz" "$OTMEDIA_HOME/tools/SOLR/") if [ $res -eq 2 ]; then echo " ${txtpur}NOT OK${txtrst}"; else echo " ${txtgrn}OK${txtrst}"; fi read -p "Enter SOLR server IP :" ip