Browse Source

Clone repo before creating peertube user

stretch
Bob Mottram 4 years ago
parent
commit
f8a9f4d522
  1. 4
      src/freedombone-app-peertube

4
src/freedombone-app-peertube

@ -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…
Cancel
Save