Browse Source

Fix install.sh

old-stable
Mitesh Shah 11 years ago
parent
commit
49877b630f
  1. 4
      bin/easyengine
  2. 2
      bin/install.sh

4
bin/easyengine

@ -566,6 +566,10 @@ elif [ "$EE_FIRST" = "debug" ]; then
ee_lib_echo_info "tail -f $EE_DEBUG_MSG"
fi
fi
elif [ "$EE_FIRST" = "update" ]; then
ee_lib_echo "Please set following alias in your .bashrc"
echo "alias eeupdate=\"wget -qO /tmp/eeupdate https://raw.githubusercontent.com/rtCamp/easyengine/refactor/bin/eeupdate && sudo bash /tmp/eeupdate\"" | tee -ai ~/.bashrc
alias eeupdate="wget -qO /tmp/eeupdate https://raw.githubusercontent.com/rtCamp/easyengine/refactor/bin/eeupdate && sudo bash /tmp/eeupdate"
else
ee_lib_echo "EasyEngine (ee) commands:"
ee_lib_echo_escape "\tversion\tDisplay EasyEngine (ee) version"

2
bin/install.sh

@ -51,7 +51,7 @@ if [ "$EE_LINUX_DISTRO" != "Ubuntu" ] && [ "$EE_LINUX_DISTRO" != "Debian" ]; the
fi
# EasyEngine (ee) only support all Ubuntu/Debian distro except the distro reached EOL
lsb_release -d | egrep -e "12.04|14.04|squeeze|wheezy" &>> $EE_INSTALL_LOG
lsb_release -d | egrep -e "12.04|14.04|squeeze|wheezy" &>> /dev/null
if [ "$?" -ne "0" ]; then
ee_lib_echo_fail "EasyEngine (ee) only support Ubuntu 12.04/14.04 and Debian 6.x/7.x"
exit 100

Loading…
Cancel
Save