diff options
author | thinszx <1217641779@qq.com> | 2022-03-17 19:54:47 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-17 12:54:47 +0100 |
commit | 4a988c46609c4c2d32240092899ae0aae45b11a6 (patch) | |
tree | d4caa30c107426f927061a30edc66f4df01ced39 /tools/upgrade.sh | |
parent | 0f2715bb45ef025b48469817712a4cd3e23839b6 (diff) | |
download | zsh-4a988c46609c4c2d32240092899ae0aae45b11a6.tar.gz zsh-4a988c46609c4c2d32240092899ae0aae45b11a6.tar.bz2 zsh-4a988c46609c4c2d32240092899ae0aae45b11a6.zip |
fix(updater): change remote using deprecated `git:` protocol (#10779)
Diffstat (limited to 'tools/upgrade.sh')
-rwxr-xr-x | tools/upgrade.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/upgrade.sh b/tools/upgrade.sh index b6cb10b5a..afc6a98dd 100755 --- a/tools/upgrade.sh +++ b/tools/upgrade.sh @@ -164,6 +164,10 @@ git remote -v | while read remote url extra; do git@github.com:robbyrussell/oh-my-zsh(|.git)) git remote set-url "$remote" "git@github.com:ohmyzsh/ohmyzsh.git" break ;; + # Update out-of-date "unauthenticated git protocol on port 9418" to https + git://github.com/robbyrussell/oh-my-zsh(|.git)) + git remote set-url "$remote" "https://github.com/ohmyzsh/ohmyzsh.git" + break ;; esac done |