Fix curl/wget detection. Fixes #478

master
Jordan Harband 2014-07-18 13:18:09 -07:00
parent fafbeb8c59
commit ca43ca21f5
1 changed files with 1 additions and 1 deletions

2
nvm.sh
View File

@ -317,7 +317,7 @@ nvm() {
version_not_provided=0
local provided_version
if ! nvm_has "nvm_download"; then
if ! nvm_has "curl" && ! nvm_has "wget"; then
echo 'nvm needs curl or wget to proceed.' >&2;
return 1
fi