mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 10:15:53 +08:00 
			
		
		
		
	support Raspberry Pi binaries
This commit is contained in:
		
							
								
								
									
										4
									
								
								nvm.sh
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								nvm.sh
									
									
									
									
									
								
							| @@ -114,6 +114,9 @@ nvm_ls_remote() { | ||||
| nvm_checksum() { | ||||
|     if [ "$1" = "$2" ]; then | ||||
|         return | ||||
|     elif [ -z $2 ]; then | ||||
|         echo 'Checksums empty' #missing in raspberry pi binary | ||||
|         return | ||||
|     else | ||||
|         echo 'Checksums do not match.' | ||||
|         return 1 | ||||
| @@ -153,6 +156,7 @@ nvm() { | ||||
|   case "$uname" in | ||||
|     *x86_64*) arch=x64 ;; | ||||
|     *i*86*) arch=x86 ;; | ||||
|     *armv6l*) arch=arm-pi ;; | ||||
|   esac | ||||
|  | ||||
|   # initialize local variables | ||||
|   | ||||
		Reference in New Issue
	
	Block a user