mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 18:25:52 +08:00 
			
		
		
		
	Updated warning message when sha256sum utility not found
Relates to @ljharb's comment on the warning message not including all of the utilties searched for. https://github.com/creationix/nvm/pull/981#discussion_r50638351
This commit is contained in:
		
							
								
								
									
										2
									
								
								nvm.sh
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								nvm.sh
									
									
									
									
									
								
							| @@ -786,7 +786,7 @@ nvm_checksum() { | |||||||
|     elif nvm_has "bssl" && ! nvm_is_alias "bssl"; then |     elif nvm_has "bssl" && ! nvm_is_alias "bssl"; then | ||||||
|       NVM_CHECKSUM="$(bssl sha256sum "$1" | awk '{print $1}')" |       NVM_CHECKSUM="$(bssl sha256sum "$1" | awk '{print $1}')" | ||||||
|     else |     else | ||||||
|       echo "Unaliased sha256sum, sha256, or gsha256sum not found." >&2 |       echo "Unaliased sha256sum, shasum, sha256, gsha256sum, openssl, libressl, or bssl not found." >&2 | ||||||
|       echo "WARNING: Continuing *without checksum verification*" >&2 |       echo "WARNING: Continuing *without checksum verification*" >&2 | ||||||
|       return |       return | ||||||
|     fi |     fi | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user