Browse Source

Merge pull request #899 from PeterDaveHello/patch-2

[install] on install, indicate that there's no binary for FreeBSD
Jordan Harband 9 years ago
parent
commit
641abc8407
  1. 2
      nvm.sh

2
nvm.sh

@ -1616,10 +1616,12 @@ nvm() { @@ -1616,10 +1616,12 @@ nvm() {
if [ "_$NVM_OS" = "_freebsd" ]; then
# node.js and io.js do not have a FreeBSD binary
nobinary=1
echo "Currently, there is no binary for $NVM_OS" >&2
elif [ "_$NVM_OS" = "_sunos" ]; then
# Not all node/io.js versions have a Solaris binary
if ! nvm_has_solaris_binary "$VERSION"; then
nobinary=1
echo "Currently, there is no binary of version $VERSION for $NVM_OS" >&2
fi
fi
local NVM_INSTALL_SUCCESS

Loading…
Cancel
Save