Merge pull request #258 from codewhale/master

add support for Raspberry Pi binaries
master
Tim Caswell 2013-06-24 06:40:31 -07:00
commit 137539cf48
1 changed files with 4 additions and 0 deletions

4
nvm.sh
View File

@ -114,6 +114,9 @@ nvm_ls_remote() {
nvm_checksum() { nvm_checksum() {
if [ "$1" = "$2" ]; then if [ "$1" = "$2" ]; then
return return
elif [ -z $2 ]; then
echo 'Checksums empty' #missing in raspberry pi binary
return
else else
echo 'Checksums do not match.' echo 'Checksums do not match.'
return 1 return 1
@ -153,6 +156,7 @@ nvm() {
case "$uname" in case "$uname" in
*x86_64*) arch=x64 ;; *x86_64*) arch=x64 ;;
*i*86*) arch=x86 ;; *i*86*) arch=x86 ;;
*armv6l*) arch=arm-pi ;;
esac esac
# initialize local variables # initialize local variables