浏览代码

Call cpu detection fix after installing new npm

Bob Mottram 7 年前
父节点
当前提交
13d834bfcb
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3
    0
      src/freedombone-utils-nodejs

+ 3
- 0
src/freedombone-utils-nodejs 查看文件

@@ -146,6 +146,9 @@ function mesh_install_nodejs {
146 146
     fi
147 147
     cp "$rootdir/usr/bin/npm" "$rootdir/root/npm"
148 148
 
149
+    # deliberately called again
150
+    nodejs_fix_cpu_detection
151
+
149 152
     # update from the old debian nodejs version
150 153
     $mesh_install_nodejs_prefix npm install --arch=$NPM_ARCH -g n@${NODEJS_N_VERSION} --save
151 154
     $mesh_install_nodejs_prefix n --arch $N_ARCH ${NODEJS_VERSION}