From 5906e07c01001e5674610d43d58f2f7edcf53150 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 31 Jan 2016 22:47:35 +0000 Subject: [PATCH] Added installer mode --- functions/check_deps.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/functions/check_deps.sh b/functions/check_deps.sh index d14d813bb..2224ea2f4 100644 --- a/functions/check_deps.sh +++ b/functions/check_deps.sh @@ -18,9 +18,13 @@ elif [ -n "$(command -v yum)" ]; then fi if [ "${depstatus}" == "0" ]; then missingdep=0 + echo -e "\e[0;32m${deptocheck}\e[0m" + sleep 0.5 else # if missing dependency is found missingdep=1 + echo -e "\e[0;31m${deptocheck}\e[0m" + sleep 0.5 fi # Missing dependencies are added to array_deps_missing @@ -88,8 +92,9 @@ fn_check_loop(){ } if [ "${function_selfname}" == "command_install.sh" ]; then -echo "Server Directory" -echo "=================================" + echo "" + echo "Checking Dependecies" + echo "=================================" fi