Browse Source

fix mass_update: remove git remote http->https rewrite (port 443 blocked on remotes)

congestion
Evgeny 5 months ago
parent
commit
456d274e12
  1. 4
      tools/utun_update.sh

4
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

Loading…
Cancel
Save