Skip to content

Commit 18b7685

Browse files
committed
Update Install.sh For eeupdate command
1 parent 98dd7c9 commit 18b7685

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

install.sh

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ fi
138138
# Install EasyEngine (ee)
139139
echo -e "\033[34mInstalling EasyEngine (ee), Please Wait...\e[0m" | tee -ai $INSTALLLOG
140140

141-
# EE /etc Files
141+
# EasyEngine (ee) /etc Files
142142
cp -a /tmp/easyengine/etc/bash_completion.d/ee /etc/bash_completion.d/ &>> $INSTALLLOG || OwnError "Unable To Copy EE Auto Complete File"
143143
cp -a /tmp/easyengine/etc/easyengine/ee.conf /etc/easyengine/ &>> $INSTALLLOG || OwnError "Unable To Copy ee.conf File"
144144

@@ -147,21 +147,18 @@ cp -a /tmp/easyengine/etc/nginx/* /usr/share/easyengine/nginx/ &>> $INSTALLLOG |
147147
cp -a /tmp/easyengine/usr/share/easyengine/* /usr/share/easyengine/ &>> $INSTALLLOG || OwnError "Unable To Copy Configuration Files "
148148

149149
# EE Command
150-
cp -a /tmp/easyengine/usr/local/sbin/easyengine /usr/local/sbin/ &>> $INSTALLLOG || OwnError "Unable To Copy EasyEngine Command"
150+
cp -a /tmp/easyengine/usr/local/sbin/* /usr/local/sbin/ &>> $INSTALLLOG || OwnError "Unable To Copy EasyEngine Command"
151151

152152
# EE Man Pages
153153
cp -a /tmp/easyengine/man/ee.8 /usr/share/man/man8/ &>> $INSTALLLOG || OwnError "Unable To Copy EasyEngine Man Pages"
154154

155155
# Change Permission For EE
156-
chmod 750 /usr/local/sbin/easyengine || OwnError "Unable To Change EasyEngine Command Permission"
156+
chmod 750 /usr/local/sbin/easyengine /usr/local/sbin/eeupdate || OwnError "Unable To Change EasyEngine Command Permission"
157157

158158
# Create Symbolic Link If Not Exist
159159
if [ ! -L /usr/local/sbin/ee ]
160160
then
161161
ln -s /usr/local/sbin/easyengine /usr/local/sbin/ee
162-
else
163-
rm /usr/local/sbin/ee
164-
ln -s /usr/local/sbin/easyengine /usr/local/sbin/ee
165162
fi
166163

167164
# Adjust FastCGI Cache Size 20% Of /var/run

0 commit comments

Comments
 (0)