Include leveldown

This commit is contained in:
Bob Mottram 2017-09-14 17:20:50 +01:00
parent 052e01be4d
commit c4a8f8718f
1 changed files with 3 additions and 2 deletions

View File

@ -569,8 +569,9 @@ install_patchwork() {
cat <<EOF > $rootdir/usr/bin/install_patchwork cat <<EOF > $rootdir/usr/bin/install_patchwork
#!/bin/bash #!/bin/bash
cd /etc/patchwork cd /etc/patchwork
npm install --arch=$NPM_ARCH electron npm install --arch=$NPM_ARCH electron --save -g
npm install --arch=$NPM_ARCH npm install --arch=$NPM_ARCH leveldown --save -g
npm install --arch=$NPM_ARCH --save -g
EOF EOF
chroot "$rootdir" /bin/chmod +x /usr/bin/install_patchwork chroot "$rootdir" /bin/chmod +x /usr/bin/install_patchwork
chroot "$rootdir" /usr/bin/install_patchwork chroot "$rootdir" /usr/bin/install_patchwork