Bob Mottram 8 years ago
parent
commit
3555879d7c
1 changed files with 1 additions and 3 deletions
  1. 1
    3
      src/freedombone-image-customise

+ 1
- 3
src/freedombone-image-customise View File

585
         chroot "$rootdir" /root/npm_install.sh
585
         chroot "$rootdir" /root/npm_install.sh
586
     fi
586
     fi
587
 
587
 
588
-    chroot "$rootdir" npm install electron@1.7.6 -g
589
-
590
     git clone https://github.com/ssbc/patchwork $rootdir/etc/patchwork
588
     git clone https://github.com/ssbc/patchwork $rootdir/etc/patchwork
591
 
589
 
592
     cat <<EOF > $rootdir/usr/bin/install_patchwork
590
     cat <<EOF > $rootdir/usr/bin/install_patchwork
593
 #!/bin/bash
591
 #!/bin/bash
594
 cd /etc/patchwork
592
 cd /etc/patchwork
595
-npm install
593
+npm install -g
596
 EOF
594
 EOF
597
     chroot "$rootdir" /bin/chmod +x /usr/bin/install_patchwork
595
     chroot "$rootdir" /bin/chmod +x /usr/bin/install_patchwork
598
     chroot "$rootdir" /usr/bin/install_patchwork
596
     chroot "$rootdir" /usr/bin/install_patchwork