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

Different architecture specification method

Bob Mottram пре 7 година
родитељ
комит
bee662a55d
1 измењених фајлова са 1 додато и 2 уклоњено
  1. 1
    2
      src/freedombone-image-customise

+ 1
- 2
src/freedombone-image-customise Прегледај датотеку

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
571
-npm install electron --save-dev --save-exact
570
+npm install --arch=ia32 electron
572
 npm install
571
 npm install
573
 EOF
572
 EOF
574
     chroot "$rootdir" /bin/chmod +x /usr/bin/install_patchwork
573
     chroot "$rootdir" /bin/chmod +x /usr/bin/install_patchwork