adding architecture detection for Raspberry Pi 2

master
Scott Jasperse 2015-04-25 19:10:02 -04:00
parent 153ee6887e
commit e1009149c9
1 changed files with 1 additions and 1 deletions

2
nvm.sh
View File

@ -973,7 +973,7 @@ nvm_install_node_binary() {
if nvm_binary_available "$VERSION"; then
local NVM_ARCH
NVM_ARCH="$(nvm_get_arch)"
if [ $NVM_ARCH = "armv6l" ]; then
if [ $NVM_ARCH = "armv6l" ] || [ $NVM_ARCH = "armv7l" ]; then
NVM_ARCH="arm-pi"
fi
t="$VERSION-$NVM_OS-$NVM_ARCH"