From a7cac50ca925ce66da01ce019b3471b929b2f18a Mon Sep 17 00:00:00 2001 From: Mitesh Shah Date: Thu, 13 Jun 2013 18:47:27 +0530 Subject: [PATCH] Easy Eangine Auto Complete Feature & EE Symbolic Link Fixed --- install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install.sh b/install.sh index 2a8dc63f..12822a6c 100644 --- a/install.sh +++ b/install.sh @@ -117,6 +117,7 @@ fi # Install Easy Engine echo -e "\033[34m Installing Easy Engine, Please Wait... \e[0m" | tee -ai $INSTALLLOG cp -a conf/* /usr/share/easyengine &>> /dev/null || OwnError "Unable To Copy Configuration Files " +cp -a setup/ee /etc/bash_completion.d/ &>> /dev/null || OwnError "Unable To Copy EE Auto Complete File" cp -a setup/easyengine /usr/local/sbin/ &>> /dev/null || OwnError "Unable To Copy EasyEngine Command" chmod 750 /usr/local/sbin/easyengine || OwnError "Unable To Change EasyEngine Command Permission" @@ -124,6 +125,9 @@ chmod 750 /usr/local/sbin/easyengine || OwnError "Unable To Change EasyEngine Co if [ ! -L /usr/local/sbin/ee ] then ln -s /usr/local/sbin/easyengine /usr/local/sbin/ee +else + rm /usr/local/sbin/ee + ln -s /usr/local/sbin/easyengine /usr/local/sbin/ee fi echo