Ignore the checksum failure because the shasums are not available in SHASUMS.txt

This commit is contained in:
Remy Loubradou 2013-05-12 22:13:27 +01:00
parent 122777f886
commit 273f52adc2

3
nvm.sh
View File

@ -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