diff --git a/tools/utun_update.sh b/tools/utun_update.sh index 7587b947..bdfff8f6 100755 --- a/tools/utun_update.sh +++ b/tools/utun_update.sh @@ -68,10 +68,6 @@ fi # Ensure pidfile is removed before start rm -f "$PIDFILE" -# Fix git remote redirect (http -> https) -GIT_URL=$(git remote get-url origin 2>/dev/null) -case "$GIT_URL" in http://*) echo "Fixing git remote: $GIT_URL -> https://${GIT_URL#http://}" && git remote set-url origin "https://${GIT_URL#http://}" ;; esac - # Git pull echo "Pulling latest changes..." if ! git pull; then