Display FreeBSD and SunOS with correct caps

Peter Dave Hello 2018-02-12 02:15:01 +08:00 committed by Jordan Harband
parent 74f455e610
commit aad269d224
No known key found for this signature in database
GPG Key ID: 64A196AEE0916D55
1 changed files with 2 additions and 2 deletions

4
nvm.sh
View File

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