Merge pull request #899 from PeterDaveHello/patch-2

[install] on install, indicate that there's no binary for FreeBSD
Jordan Harband 2015-12-04 23:31:49 -08:00
commit 641abc8407
1 changed files with 2 additions and 0 deletions

2
nvm.sh
View File

@ -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