mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 14:21:50 +00:00
[New] Set nobinary=1 for Alpine Linux before nodejs provides it
This commit is contained in:
parent
423f420884
commit
f25860861c
4
nvm.sh
4
nvm.sh
@ -2434,8 +2434,8 @@ nvm() {
|
||||
NVM_INSTALL_SUCCESS=true
|
||||
else
|
||||
|
||||
if [ "_$NVM_OS" = "_freebsd" ]; then
|
||||
# node.js and io.js do not have a FreeBSD binary
|
||||
if [ "_$NVM_OS" = "_freebsd" ] || [ "_$NVM_OS" = "_alpine_linux" ]; then
|
||||
# node.js and io.js do not have a FreeBSD / Alpine linux binary
|
||||
nobinary=1
|
||||
nvm_err "Currently, there is no binary for $NVM_OS"
|
||||
elif [ "_$NVM_OS" = "_sunos" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user