Update run.sh
This commit is contained in:
4
run.sh
4
run.sh
@@ -65,16 +65,12 @@ if [ "${1}" == "update" ]; then
|
|||||||
if [ "${2}" != "q" ]; then
|
if [ "${2}" != "q" ]; then
|
||||||
echo -en "\e[1A";
|
echo -en "\e[1A";
|
||||||
echo -e "\e[0K\r ${idsCL[Green]}Updated to v${VERS}${idsCL[Default]}"
|
echo -e "\e[0K\r ${idsCL[Green]}Updated to v${VERS}${idsCL[Default]}"
|
||||||
else
|
|
||||||
echo -e "${idsCL[Green]}Updated to v${VERS}${idsCL[Default]}"
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
elif [ "${2}" != "q" ]; then
|
elif [ "${2}" != "q" ]; then
|
||||||
echo -en "\e[1A";
|
echo -en "\e[1A";
|
||||||
echo -e "\e[0K\r ${idsCL[LightCyan]}No Updates Available${idsCL[Default]}"
|
echo -e "\e[0K\r ${idsCL[LightCyan]}No Updates Available${idsCL[Default]}"
|
||||||
else
|
|
||||||
echo -e "${idsCL[Cyan]}No Updates Available${idsCL[Default]}"
|
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo -e "${idsCL[Red]}Could not connect to 'git.schroedercity.com' for updates${idsCL[Default]}"
|
echo -e "${idsCL[Red]}Could not connect to 'git.schroedercity.com' for updates${idsCL[Default]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user