From e606e369440533120496c7866db5fdcfb6fba3ab Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 14 Dec 2025 18:02:30 -0600 Subject: [PATCH] Update run.sh --- run.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/run.sh b/run.sh index e9ac6f5..2b71f4a 100755 --- a/run.sh +++ b/run.sh @@ -3,7 +3,6 @@ [ "${2}" != "q" ] && source /opt/idssys/defaults/colors.inc source /opt/idssys/defaults/default.inc -source /opt/idssys/ta-proxmenu/settings.conf source /opt/idssys/ta-proxmenu/defaults.inc if curl -m 3 -s --head --request GET https://git.schroedercity.com | grep "HTTP/2 200" > /dev/null; then @@ -36,13 +35,13 @@ 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]}" + echo -en "\e[0K\r${idsCL[LightCyan]}Updating TA-Proxmenu...${idsCL[Default]}" fi - git fetch origin master >/dev/null 2>&1 - git reset --hard origin/master >/dev/null 2>&1 + git fetch origin main >/dev/null 2>&1 + git reset --hard origin/main >/dev/null 2>&1 git reflog expire --expire=now --all >/dev/null 2>&1 git repack -ad >/dev/null 2>&1 git prune >/dev/null 2>&1