From 273f52adc2bd23ab0fb43471350d09070a1f7b4b Mon Sep 17 00:00:00 2001 From: Remy Loubradou Date: Sun, 12 May 2013 22:13:27 +0100 Subject: [PATCH] Ignore the checksum failure because the shasums are not available in SHASUMS.txt --- nvm.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nvm.sh b/nvm.sh index b3f4dd4..7e6a73d 100755 --- a/nvm.sh +++ b/nvm.sh @@ -116,6 +116,9 @@ nvm_checksum() { if [ "$1" = "$2" ]; then return + elif [[ "$VERSION" =~ ^v0\.10\.[0-5]$ && "$arch" == 'arm-pi' && "$binavail" == 1 ]]; then + echo 'Checksums matching failed but this failure will be ignored because no shasum is available for node v0.10.[0-5] for arm-pi' + return else echo 'Checksums do not match.' return 1