Set npm architecture

This commit is contained in:
Bob Mottram 2017-09-13 22:54:56 +01:00
parent 4bef56f305
commit 34f82b7d57
1 changed files with 1 additions and 0 deletions

View File

@ -567,6 +567,7 @@ install_patchwork() {
cat <<EOF > $rootdir/usr/bin/install_patchwork
#!/bin/bash
cd /etc/patchwork
echo 'npm_config_arch=ia32' > ~/.npmrc
npm install electron --save-dev --save-exact
npm install
EOF