From 809b32ce923e5e32522f5a24c3288b4b74e33c9b Mon Sep 17 00:00:00 2001 From: Mitesh Shah Date: Wed, 24 Oct 2012 14:51:08 +0530 Subject: [PATCH] Easy Engine Installer --- install.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index deb3798b..a0824db5 100644 --- a/install.sh +++ b/install.sh @@ -83,7 +83,11 @@ if [ "$EXIST" != "easyengine" ] then echo -e "\033[34m Cloning Easy Engine, please wait... \e[0m" cd /tmp + + # Remove Older Easy Engine If Found rm -rf /tmp/easyengine + + # Git Clone git clone git://github.com/rtCamp/easyengine.git || OwnError "Unable to clone easy engine" cd easyengine fi @@ -98,4 +102,9 @@ fi echo -e "\033[34m Installing Easy Engine, please wait... \e[0m" cp -av conf/* /usr/share/easyengine cp -av setup/engine /usr/local/sbin/ -ln -s /usr/local/sbin/engine /usr/local/sbin/ee +if [ -L /usr/local/sbin/ee ] +then + echo "The ee command already set" +else + ln -s /usr/local/sbin/engine /usr/local/sbin/ee +fi