Browse Source

don't curl if version is specified + installed

Removes CURL to match the version pattern if an explicit version (e.g. `v0.10.25`) is specified and already installed.
master
Simon Tabor 11 years ago
parent
commit
9af7409e4a
  1. 2
      nvm.sh

2
nvm.sh

@ -241,6 +241,8 @@ nvm() { @@ -241,6 +241,8 @@ nvm() {
nobinary=1
fi
[ -d "$NVM_DIR/$1" ] && echo "$1 is already installed." && return
VERSION=`nvm_remote_version $1`
ADDITIONAL_PARAMETERS=''

Loading…
Cancel
Save