This commit is contained in:
Bob Mottram 2017-09-13 19:22:04 +01:00
parent 223d0b7dcb
commit 3555879d7c
1 changed files with 1 additions and 3 deletions

View File

@ -585,14 +585,12 @@ install_patchwork() {
chroot "$rootdir" /root/npm_install.sh
fi
chroot "$rootdir" npm install electron@1.7.6 -g
git clone https://github.com/ssbc/patchwork $rootdir/etc/patchwork
cat <<EOF > $rootdir/usr/bin/install_patchwork
#!/bin/bash
cd /etc/patchwork
npm install
npm install -g
EOF
chroot "$rootdir" /bin/chmod +x /usr/bin/install_patchwork
chroot "$rootdir" /usr/bin/install_patchwork