瀏覽代碼

Clone repo before creating peertube user

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

+ 2
- 2
src/freedombone-app-peertube 查看文件

@@ -624,11 +624,11 @@ function mesh_install_peertube {
624 624
         rm -rf $rootdir$PEERTUBE_DIR
625 625
     fi
626 626
 
627
+    git clone $PEERTUBE_REPO $rootdir$PEERTUBE_DIR
628
+
627 629
     chroot "$rootdir" groupadd peertube
628 630
     chroot "$rootdir" useradd -c "PeerTube system account" -d $PEERTUBE_DIR -m -r -g peertube peertube
629 631
 
630
-    git clone $PEERTUBE_REPO $rootdir$PEERTUBE_DIR
631
-
632 632
     cd $rootdir$PEERTUBE_DIR
633 633
     git checkout $PEERTUBE_COMMIT -b $PEERTUBE_COMMIT
634 634