Bob Mottram 7 年之前
父節點
當前提交
0c0e2b9ecc
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      src/freedombone-image-customise

+ 2
- 2
src/freedombone-image-customise 查看文件

@@ -580,9 +580,9 @@ install_patchwork() {
580 580
             echo $'Unable to download npm installer'
581 581
             exit 8793636
582 582
         fi
583
+        chroot "$rootdir" chmod +x /root/npm_install.sh
584
+        chroot "$rootdir" /root/npm_install.sh $NPM_VERSION
583 585
     fi
584
-    chroot "$rootdir" chmod +x /root/npm_install.sh
585
-    chroot "$rootdir" /root/npm_install.sh $NPM_VERSION
586 586
 
587 587
     git clone https://github.com/ssbc/patchwork $rootdir/etc/patchwork
588 588