Clone repo before creating peertube user
This commit is contained in:
parent
43eab839b5
commit
f8a9f4d522
|
@ -624,11 +624,11 @@ function mesh_install_peertube {
|
|||
rm -rf $rootdir$PEERTUBE_DIR
|
||||
fi
|
||||
|
||||
git clone $PEERTUBE_REPO $rootdir$PEERTUBE_DIR
|
||||
|
||||
chroot "$rootdir" groupadd peertube
|
||||
chroot "$rootdir" useradd -c "PeerTube system account" -d $PEERTUBE_DIR -m -r -g peertube peertube
|
||||
|
||||
git clone $PEERTUBE_REPO $rootdir$PEERTUBE_DIR
|
||||
|
||||
cd $rootdir$PEERTUBE_DIR
|
||||
git checkout $PEERTUBE_COMMIT -b $PEERTUBE_COMMIT
|
||||
|
||||
|
|
Loading…
Reference in New Issue