Update run.sh
This commit is contained in:
7
run.sh
7
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 [ "`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
|
if [ "${1}" != "runup" ]; then
|
||||||
echo -en "\e[1A";
|
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
|
udtd=true
|
||||||
fi
|
fi
|
||||||
git fetch origin master >/dev/null 2>&1
|
git fetch origin master >/dev/null 2>&1
|
||||||
@@ -60,8 +60,9 @@ if curl -m 3 -s --head --request GET https://git.schroedercity.com | grep "HTTP
|
|||||||
echo -e " ${idsCL[Green]}Updated to v${VERS}${idsCL[Default]}"
|
echo -e " ${idsCL[Green]}Updated to v${VERS}${idsCL[Default]}"
|
||||||
fi
|
fi
|
||||||
elif [ "${1}" != "runup" ]; then
|
elif [ "${1}" != "runup" ]; then
|
||||||
echo -en "\e[1A";
|
# echo -en "\e[1A";
|
||||||
echo -e "\e[0K\r ${idsCL[Green]}No updates available${idsCL[Default]}"
|
# echo -e "\e[0K\r ${idsCL[Green]}No updates available${idsCL[Default]}"
|
||||||
|
echo -e "${idsCL[Green]}No updates available${idsCL[Default]}"
|
||||||
echo ""
|
echo ""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user