Update run.sh
This commit is contained in:
9
run.sh
9
run.sh
@@ -23,7 +23,7 @@ if curl -m 3 -s --head --request GET https://git.schroedercity.com | grep "HTTP
|
||||
if [ "`git log --pretty=%H ...refs/heads/master^ | head -n 1`" != "`git ls-remote origin -h refs/heads/master |cut -f1`" ]; then
|
||||
if [ "${1}" != "runup" ]; then
|
||||
echo -en "\e[1A";
|
||||
echo -en "${idsCL[LightCyan]}Updating iDSSYS-Defaults...${idsCL[Default]}"
|
||||
echo -en "\e[0K\r${idsCL[LightCyan]}Updating iDSSYS-Defaults...${idsCL[Default]}"
|
||||
udtd=true
|
||||
fi
|
||||
git fetch origin master >/dev/null 2>&1
|
||||
@@ -57,11 +57,12 @@ if curl -m 3 -s --head --request GET https://git.schroedercity.com | grep "HTTP
|
||||
source /opt/idssys/linupx/defaults.inc
|
||||
# echo -en "\e[1A";
|
||||
# echo -e "\e[0K\r ${idsCL[Green]}Updated to v${VERS}${idsCL[Default]}"
|
||||
echo -e "${idsCL[Green]}Updated to v${VERS}${idsCL[Default]}"
|
||||
echo -e " ${idsCL[Green]}Updated to v${VERS}${idsCL[Default]}"
|
||||
fi
|
||||
elif [ "${1}" != "runup" ]; then
|
||||
echo -en "\e[1A";
|
||||
echo -e "\e[0K\r ${idsCL[Green]}No updates available${idsCL[Default]}"
|
||||
# echo -en "\e[1A";
|
||||
# echo -e "\e[0K\r ${idsCL[Green]}No updates available${idsCL[Default]}"
|
||||
echo -e "${idsCL[Green]}No updates available${idsCL[Default]}"
|
||||
echo ""
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user