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