Kaynağa Gözat

Include leveldown

Bob Mottram 7 yıl önce
ebeveyn
işleme
c4a8f8718f
1 değiştirilmiş dosya ile 3 ekleme ve 2 silme
  1. 3
    2
      src/freedombone-image-customise

+ 3
- 2
src/freedombone-image-customise Dosyayı Görüntüle

569
     cat <<EOF > $rootdir/usr/bin/install_patchwork
569
     cat <<EOF > $rootdir/usr/bin/install_patchwork
570
 #!/bin/bash
570
 #!/bin/bash
571
 cd /etc/patchwork
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
 EOF
575
 EOF
575
     chroot "$rootdir" /bin/chmod +x /usr/bin/install_patchwork
576
     chroot "$rootdir" /bin/chmod +x /usr/bin/install_patchwork
576
     chroot "$rootdir" /usr/bin/install_patchwork
577
     chroot "$rootdir" /usr/bin/install_patchwork