|
|
|
|
434
|
function_check set_repo_commit
|
434
|
function_check set_repo_commit
|
435
|
set_repo_commit $PEERTUBE_DIR "peertube commit" "$PEERTUBE_COMMIT" $PEERTUBE_REPO
|
435
|
set_repo_commit $PEERTUBE_DIR "peertube commit" "$PEERTUBE_COMMIT" $PEERTUBE_REPO
|
436
|
|
436
|
|
437
|
- npm run upgrade-peertube
|
|
|
|
|
437
|
+ cd "$PEERTUBE_DIR/scripts" || exit 7824552627
|
|
|
438
|
+ sudo -u peertube ./upgrade.sh $PEERTUBE_DIR
|
|
|
439
|
+
|
438
|
chown -R peertube:peertube $PEERTUBE_DIR
|
440
|
chown -R peertube:peertube $PEERTUBE_DIR
|
439
|
systemctl start peertube
|
441
|
systemctl start peertube
|
440
|
}
|
442
|
}
|