1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/peertube_ynh.git synced 2024-09-03 19:56:29 +02:00

Update scripts/upgrade

Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
This commit is contained in:
oufmilo 2022-12-21 22:00:36 +01:00 committed by GitHub
parent 2b85d2acd0
commit 158ebce64a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -211,7 +211,7 @@ chown -R $app:www-data "$datadir"
#=================================================
if [ -z "$secrets_peertube" ]; then
ynh_script_progression --message="Generating and storing PeerTube secrets..."
ynh_print_info --message="Generating and storing PeerTube secrets..."
secrets_peertube=$(ynh_string_random --length=24)
ynh_app_setting_set --app=$app --key=secrets_peertube --value=$secrets_peertube
fi