Fix The unauthenticated git protocol on port 9418 is no longer supported

change git://github.com by https://github.com
This commit is contained in:
2022-03-17 15:46:31 +01:00
parent b744cd6624
commit ace96fcd46
2 changed files with 17 additions and 9 deletions

View File

@@ -79,7 +79,7 @@ echo -e " - install path: ${italic}$npm_ins${reset}"
# nvm_installed=$(brew info nvm | grep Cellar)
# version actuelle de nvm sur GitHub
version_nvm=$(git ls-remote --tags --refs --sort="v:refname" git://github.com/nvm-sh/nvm.git | tail -n1 | sed 's/.*\///' | sed 's/v//')
version_nvm=$(git ls-remote --tags --refs --sort="v:refname" https://github.com/nvm-sh/nvm.git | tail -n1 | sed 's/.*\///' | sed 's/v//')
# nvm from github
if [ -f "$NVM_DIR/nvm.sh" ]; then