global
This commit is contained in:
parent
223d0b7dcb
commit
3555879d7c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue