Browse Source

Return of the n_arch

Bob Mottram 7 years ago
parent
commit
007c1cb898
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/freedombone-utils-nodejs

+ 1
- 1
src/freedombone-utils-nodejs View File

145
 
145
 
146
     # update from the old debian nodejs version
146
     # update from the old debian nodejs version
147
     $mesh_install_nodejs_prefix npm install --arch=$NPM_ARCH -g n@${NODEJS_N_VERSION} --save
147
     $mesh_install_nodejs_prefix npm install --arch=$NPM_ARCH -g n@${NODEJS_N_VERSION} --save
148
-    $mesh_install_nodejs_prefix n ${NODEJS_VERSION}
148
+    $mesh_install_nodejs_prefix n --arch $N_ARCH ${NODEJS_VERSION}
149
     cp $rootdir/root/npm $rootdir/usr/bin/npm
149
     cp $rootdir/root/npm $rootdir/usr/bin/npm
150
 }
150
 }
151
 
151