Ver código fonte

Set npm architecture

Bob Mottram 8 anos atrás
pai
commit
34f82b7d57
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1
    0
      src/freedombone-image-customise

+ 1
- 0
src/freedombone-image-customise Ver arquivo

567
     cat <<EOF > $rootdir/usr/bin/install_patchwork
567
     cat <<EOF > $rootdir/usr/bin/install_patchwork
568
 #!/bin/bash
568
 #!/bin/bash
569
 cd /etc/patchwork
569
 cd /etc/patchwork
570
+echo 'npm_config_arch=ia32' > ~/.npmrc
570
 npm install electron --save-dev --save-exact
571
 npm install electron --save-dev --save-exact
571
 npm install
572
 npm install
572
 EOF
573
 EOF