|
@ -81,7 +81,7 @@ fi |
|
|
EXIST=$(basename `pwd`) |
|
|
EXIST=$(basename `pwd`) |
|
|
if [ "$EXIST" != "easyengine" ] |
|
|
if [ "$EXIST" != "easyengine" ] |
|
|
then |
|
|
then |
|
|
echo -e "\033[34m Cloning Easy Engine, please wait... \e[0m" |
|
|
echo -e "\033[34m Cloning Easy Engine, please wait... \e[0m" | tee -ai $INSTALLLOG |
|
|
cd /tmp |
|
|
cd /tmp |
|
|
|
|
|
|
|
|
# Remove Older Easy Engine If Found |
|
|
# Remove Older Easy Engine If Found |
|
@ -99,10 +99,23 @@ then |
|
|
|| OwnError "Unable to create dir /usr/share/easyengine" |
|
|
|| OwnError "Unable to create dir /usr/share/easyengine" |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
echo -e "\033[34m Installing Easy Engine, please wait... \e[0m" |
|
|
# Install Easy Engine |
|
|
|
|
|
echo -e "\033[34m Installing Easy Engine, please wait... \e[0m" | tee -ai $INSTALLLOG |
|
|
cp -av conf/* /usr/share/easyengine |
|
|
cp -av conf/* /usr/share/easyengine |
|
|
cp -av setup/engine /usr/local/sbin/ |
|
|
cp -av setup/engine /usr/local/sbin/ |
|
|
|
|
|
|
|
|
|
|
|
# Create Symbolic Link If Not Exist |
|
|
if [ ! -L /usr/local/sbin/ee ] |
|
|
if [ ! -L /usr/local/sbin/ee ] |
|
|
then |
|
|
then |
|
|
ln -s /usr/local/sbin/engine /usr/local/sbin/ee |
|
|
ln -s /usr/local/sbin/engine /usr/local/sbin/ee |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo |
|
|
|
|
|
echo "Easy Engine Installed" |
|
|
|
|
|
|
|
|