diff --git a/run.sh b/run.sh index e9ac6f5..878fca9 100755 --- a/run.sh +++ b/run.sh @@ -18,7 +18,7 @@ if curl -m 3 -s --head --request GET https://git.schroedercity.com | grep "HTTP git clone https://git.schroedercity.com/voltron/iDS-Defaults.git /opt/idssys/defaults else cd /opt/idssys/defaults - 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/main^ | head -n 1`" != "`git ls-remote origin -h refs/heads/master |cut -f1`" ]; then if [ "${1}" != "runup" ]; then echo -en "\e[1A"; echo -en "\e[0K\r${idsCL[LightCyan]}Updating iDSSYS-Defaults...${idsCL[Default]}" @@ -36,7 +36,7 @@ if curl -m 3 -s --head --request GET https://git.schroedercity.com | grep "HTTP fi cd /opt/idssys/ta-proxmenu - 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/main^ | head -n 1`" != "`git ls-remote origin -h refs/heads/main |cut -f1`" ]; then if [ "${1}" != "runup" ]; then [ ${udtd} -eq 0 ] && echo -en "\e[1A"; echo -en "\e[0K\r${idsCL[LightCyan]}Updating TA-ta-proxmenu...${idsCL[Default]}"