diff --git a/bin/easyengine b/bin/easyengine index a3621372..f774f92a 100644 --- a/bin/easyengine +++ b/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" diff --git a/bin/install.sh b/bin/install.sh index d2c4ea2f..980ded4a 100644 --- a/bin/install.sh +++ b/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