forked from coolaj86/node-installer.sh
support pine64, raspberry pi 3
This commit is contained in:
parent
dde86e4db2
commit
2f42061544
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue