mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 18:25:52 +08:00 
			
		
		
		
	adding architecture detection for Raspberry Pi 2
This commit is contained in:
		
							
								
								
									
										2
									
								
								nvm.sh
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								nvm.sh
									
									
									
									
									
								
							| @@ -973,7 +973,7 @@ nvm_install_node_binary() { | |||||||
|     if nvm_binary_available "$VERSION"; then |     if nvm_binary_available "$VERSION"; then | ||||||
|       local NVM_ARCH |       local NVM_ARCH | ||||||
|       NVM_ARCH="$(nvm_get_arch)" |       NVM_ARCH="$(nvm_get_arch)" | ||||||
|       if [ $NVM_ARCH = "armv6l" ]; then |       if [ $NVM_ARCH = "armv6l" ] || [ $NVM_ARCH = "armv7l" ]; then | ||||||
|          NVM_ARCH="arm-pi" |          NVM_ARCH="arm-pi" | ||||||
|       fi |       fi | ||||||
|       t="$VERSION-$NVM_OS-$NVM_ARCH" |       t="$VERSION-$NVM_OS-$NVM_ARCH" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user