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