From 4a412bdf3573b0e0536cf3e2888ad7f46e783acc Mon Sep 17 00:00:00 2001 From: rey jean-Francois Date: Mon, 29 Jul 2013 15:56:21 +0200 Subject: [PATCH] update --- install.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/install.sh b/install.sh index fdf8754..18633df 100755 --- a/install.sh +++ b/install.sh @@ -194,8 +194,9 @@ then fi echo -e "\nTOMCAT : \t ${txtgrn}OK${txtrst}\n" # SOLR secondly - echo -e "\t${txtblu}Install SOLR DB${txtrst}" - read -e -p "You will need 300 Go of free space to install SOLR DB\nContinue ? (y/n) " solr + echo -e "\t${txtblu}Install SOLR DB${txtrst}\n" + read -e "You will need 300 Go of free space to install SOLR DB" + read -p "Continue ? (y/n) " solr if [ "$solr" == "y" ] then @@ -215,16 +216,16 @@ then then read -p "Enter SOLR server IP :" ip if [ "${ip}" == "" ];then ip="127.0.0.1";fi - echo 'machine = "${ip}"' > $OTMEDIA_HOME/tools/scripts/solrinfo.py + echo "machine = \"${ip}\"" > $OTMEDIA_HOME/tools/scripts/solrinfo.py read -p "Enter SOLR server port :" port if [ "${port}" == "" ]; then port="8080";fi echo -e "\n\tSOLR server IP ${ip}" echo -e "\tSOLR server port ${port}" - echo 'port = "${port}"' >> $OTMEDIA_HOME/tools/scripts/solrinfo.py + echo "port = \"${port}\"" >> $OTMEDIA_HOME/tools/scripts/solrinfo.py else echo "Skipping SOLR DB Configuration" fi - echo -e "See SOLR.INSTALL file for more information\n" + echo -e "\nSee SOLR.INSTALL file for more information\n" fi ### Set Variables in bashrc ### @@ -247,7 +248,7 @@ echo "DEBUG=0" >> $OTMEDIA_HOME/cfg/main_cfg.cfg echo "CHECK=0" >> $OTMEDIA_HOME/cfg/main_cfg.cfg echo "RERUN=0" >> $OTMEDIA_HOME/cfg/main_cfg.cfg -echo -e "\n\n\t${txtgrn}### Install completed ###${txtrst}\n" +echo -e "\n\t${txtgrn}### Install completed ###${txtrst}\n" echo -e "do : source ~/.bashrc" echo -e "or set variable :\n" echo "export OTMEDIA_HOME=$PWD" -- 1.8.2.3