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