support pine64, raspberry pi 3

This commit is contained in:
AJ ONeal 2016-06-27 22:02:34 +00:00 committed by GitHub
parent dde86e4db2
commit 2f42061544
1 changed files with 5 additions and 1 deletions

View File

@ -11,8 +11,12 @@ then
NODEJS_NAME="iojs"
fi
if [ -n "$(arch | grep 64)" ]; then
if [ -n "$(arch | grep aarch64)" ]; then
ARCH="arm64"
elif [ -n "$(arch | grep 64)" ]; then
ARCH="x64"
elif [ -n "$(arch | grep armv8l)" ]; then
ARCH="arm64"
elif [ -n "$(arch | grep armv7l)" ]; then
ARCH="armv7l"
elif [ -n "$(arch | grep armv6l)" ]; then