changed npm url to use https (script has moved)

master
Bill Caputo 2012-10-03 16:24:43 -05:00
parent 04652a5090
commit 2adbe8bd7f
1 changed files with 2 additions and 2 deletions

4
nvm.sh
View File

@ -156,10 +156,10 @@ nvm()
if [[ "`expr match $VERSION '\(^v0\.2\.[0-2]$\)'`" != '' ]]; then if [[ "`expr match $VERSION '\(^v0\.2\.[0-2]$\)'`" != '' ]]; then
echo "npm requires node v0.2.3 or higher" echo "npm requires node v0.2.3 or higher"
else else
curl http://npmjs.org/install.sh | clean=yes npm_install=0.2.19 sh curl https://npmjs.org/install.sh | clean=yes npm_install=0.2.19 sh
fi fi
else else
curl http://npmjs.org/install.sh | clean=yes sh curl https://npmjs.org/install.sh | clean=yes sh
fi fi
fi fi
else else