From e1009149c9b7876d70f9dfbd653fb5ed1eaed6f4 Mon Sep 17 00:00:00 2001 From: Scott Jasperse Date: Sat, 25 Apr 2015 19:10:02 -0400 Subject: [PATCH] adding architecture detection for Raspberry Pi 2 --- nvm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvm.sh b/nvm.sh index 2c0c255..dfb4709 100755 --- a/nvm.sh +++ b/nvm.sh @@ -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"