Browse Source

EasyEngine Update: Fixed Issue #134 #148

old-stable
Mitesh Shah 11 years ago
parent
commit
0a78ce69bc
  1. 3
      usr/local/sbin/easyengine
  2. 5
      usr/local/sbin/eeupdate

3
usr/local/sbin/easyengine

@ -2207,8 +2207,7 @@ then
# Update EasyEngine
echo -e "\033[34mChecking EasyEngine Update, Please Wait...\e[0m"
/bin/bash <(curl -sL https://raw.github.com/rtCamp/easyengine/stable/usr/local/sbin/eeupdate) && exit 0;
exit 0;
/bin/bash <(curl -sL https://raw.github.com/rtCamp/easyengine/stable/usr/local/sbin/eeupdate)
else
echo -e "\033[34mList Of Available Commands:\e[0m"

5
usr/local/sbin/eeupdate

@ -288,6 +288,11 @@ then
echo -e "\033[34mFor EasyEngine (ee) Auto Completion Run Following Command\e[0m" | tee -ai $INSTALLLOG
echo -e "\033[37msource /etc/bash_completion.d/ee\e[0m" | tee -ai $INSTALLLOG
echo
echo -e "\033[34mEasyEngine (ee) Updated Successfully\e[0m" | tee -ai $INSTALLLOG
echo -e "\033[34mKilling The Parent Process\e[0m" &>> $INSTALLLOG
ps ax | grep $PPID | grep -v grep &>> $INSTALLLOG
kill -9 $PPID
else
echo "EasyEngine Already Updated To The Latest Version"

Loading…
Cancel
Save