Kaynağa Gözat

Clone repo before creating peertube user

Bob Mottram 7 yıl önce
ebeveyn
işleme
f8a9f4d522
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2
    2
      src/freedombone-app-peertube

+ 2
- 2
src/freedombone-app-peertube Dosyayı Görüntüle

624
         rm -rf $rootdir$PEERTUBE_DIR
624
         rm -rf $rootdir$PEERTUBE_DIR
625
     fi
625
     fi
626
 
626
 
627
+    git clone $PEERTUBE_REPO $rootdir$PEERTUBE_DIR
628
+
627
     chroot "$rootdir" groupadd peertube
629
     chroot "$rootdir" groupadd peertube
628
     chroot "$rootdir" useradd -c "PeerTube system account" -d $PEERTUBE_DIR -m -r -g peertube peertube
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
     cd $rootdir$PEERTUBE_DIR
632
     cd $rootdir$PEERTUBE_DIR
633
     git checkout $PEERTUBE_COMMIT -b $PEERTUBE_COMMIT
633
     git checkout $PEERTUBE_COMMIT -b $PEERTUBE_COMMIT
634
 
634