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