From 13d834bfcb614660060ea6d6208b5ef7543acf41 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 2 Apr 2018 15:35:57 +0100 Subject: [PATCH] Call cpu detection fix after installing new npm --- src/freedombone-utils-nodejs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/freedombone-utils-nodejs b/src/freedombone-utils-nodejs index 43974400..3db83107 100755 --- a/src/freedombone-utils-nodejs +++ b/src/freedombone-utils-nodejs @@ -146,6 +146,9 @@ function mesh_install_nodejs { fi cp "$rootdir/usr/bin/npm" "$rootdir/root/npm" + # deliberately called again + nodejs_fix_cpu_detection + # update from the old debian nodejs version $mesh_install_nodejs_prefix npm install --arch=$NPM_ARCH -g n@${NODEJS_N_VERSION} --save $mesh_install_nodejs_prefix n --arch $N_ARCH ${NODEJS_VERSION}