Skip to content
Snippets Groups Projects
Commit f836b176 authored by Bob Mottram's avatar Bob Mottram
Browse files

arm64 for nodejs downloads #72

parent 52c9c5ab
No related branches found
No related tags found
No related merge requests found
......@@ -46,10 +46,14 @@ NODEJS_INSTALLED_APPS_FILE=$HOME/.nodejs-apps
function get_npm_arch {
N_ARCH='x86'
NPM_ARCH='ia32'
if [[ $ARCHITECTURE == 'arm'* || $ARCHITECTURE == *"aarch"* ]]; then
if [[ $ARCHITECTURE == 'arm'* ]]; then
NPM_ARCH='armv7l'
N_ARCH='arm'
fi
if [[ $ARCHITECTURE == *"aarch"* ]]; then
NPM_ARCH='arm64'
N_ARCH='arm64'
fi
if [[ $ARCHITECTURE == 'x86_64' || $ARCHITECTURE == 'amd64' ]]; then
NPM_ARCH='x64'
N_ARCH='x64'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment