mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 22:31:51 +00:00
Merge pull request #144 from logosity/master
fix for npm install failure (corrects: Issue #91)
This commit is contained in:
commit
a12b6d7dd6
4
nvm.sh
4
nvm.sh
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user