Update run.sh

This commit is contained in:
2019-03-03 10:33:18 -06:00
parent 6718c75d4a
commit 119df006ed

4
run.sh
View File

@@ -15,7 +15,7 @@ if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]]; then
DISP_HEADER DISP_HEADER
fi fi
if [ "${1}" != "gui" ]; then if [ "${1}" != "gui" ]; then
if [ "${1}" != "q" ]; then if [ "${2}" != "q" ]; then
echo -en "${idsCL[LightCyan]}Checking for updates...${idsCL[Default]}" echo -en "${idsCL[LightCyan]}Checking for updates...${idsCL[Default]}"
echo "" echo ""
fi fi
@@ -39,7 +39,7 @@ if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]]; then
git pull >/dev/null 2>&1 git pull >/dev/null 2>&1
git submodule update --remote >/dev/null 2>&1 git submodule update --remote >/dev/null 2>&1
fi fi
if [ "${1}" != "q" ]; then if [ "${2}" != "q" ]; then
echo -en "\e[1A"; echo -en "\e[1A";
echo -e "\e[0K\r ${idsCL[Green]}Updates Completed${idsCL[Default]}" echo -e "\e[0K\r ${idsCL[Green]}Updates Completed${idsCL[Default]}"
fi fi