From b7efa6e28c9a4f9a8c2a5a768a7528ef439c1f5a Mon Sep 17 00:00:00 2001 From: Mitesh Shah Date: Mon, 3 Jun 2013 15:31:18 +0530 Subject: [PATCH] Fix Error Messgaes --- install.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index f6a236b2..b2588716 100644 --- a/install.sh +++ b/install.sh @@ -26,16 +26,17 @@ OwnError() # Pre Checks To Avoid Later Screw Ups # Checking Logs Directory -echo &>> $INSTALLLOG -echo &>> $INSTALLLOG -echo -e "\033[34m EasyEngine Installation Started `date +"%d-%b-%Y %H:%M:%S"` \e[0m" | tee -ai $INSTALLLOG if [ ! -d $LOGDIR ] then - echo -e "\033[34m Creating Easy Engine Log Directory, Please Wait... \e[0m" | tee -ai $INSTALLLOG + echo -e "\033[34m Creating Easy Engine Log Directory, Please Wait... \e[0m" mkdir -p $LOGDIR || OwnError "Unable To Create Log Directory $LOGDIR" fi +echo &>> $INSTALLLOG +echo &>> $INSTALLLOG +echo -e "\033[34m EasyEngine Installation Started `date +"%d-%b-%Y %H:%M:%S"` \e[0m" | tee -ai $INSTALLLOG + # Checking Tee if [ ! -x /usr/bin/tee ] then