Просмотр исходного кода

Different architecture specification method

Bob Mottram 8 лет назад
Родитель
Сommit
bee662a55d
1 измененных файлов: 1 добавлений и 2 удалений
  1. 1
    2
      src/freedombone-image-customise

+ 1
- 2
src/freedombone-image-customise Просмотреть файл

@@ -567,8 +567,7 @@ install_patchwork() {
567 567
     cat <<EOF > $rootdir/usr/bin/install_patchwork
568 568
 #!/bin/bash
569 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 571
 npm install
573 572
 EOF
574 573
     chroot "$rootdir" /bin/chmod +x /usr/bin/install_patchwork