Browse Source

Redirect Variable Errors

old-stable
Mitesh Shah 12 years ago
parent
commit
d97f431beb
  1. 6
      install.sh

6
install.sh

@ -21,15 +21,15 @@ OwnError()
# Make Variables Available For Later Use # Make Variables Available For Later Use
LOGDIR=/var/log/easyengine LOGDIR=/var/log/easyengine &> /dev/null
INSTALLLOG=/var/log/easyengine/install.log INSTALLLOG=/var/log/easyengine/install.log &> /dev/null
# Pre Checks To Avoid Later Screw Ups # Pre Checks To Avoid Later Screw Ups
# Checking Logs Directory # Checking Logs Directory
echo | tee -ai $INSTALLLOG echo | tee -ai $INSTALLLOG
echo echo | tee -ai $INSTALLLOG
echo -e "\033[34m EasyEngine Installation Started `date +%d-%b-%Y:%H:%M:%S` \e[0m" | tee -ai $INSTALLLOG echo -e "\033[34m EasyEngine Installation Started `date +%d-%b-%Y:%H:%M:%S` \e[0m" | tee -ai $INSTALLLOG
if [ ! -d $LOGDIR ] if [ ! -d $LOGDIR ]

Loading…
Cancel
Save