Преглед изворни кода

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}