1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/peertube_ynh.git synced 2024-09-03 19:56:29 +02:00
This commit is contained in:
Éric Gaspar 2023-09-13 15:41:16 +02:00
parent 51d2569b11
commit 9e8906096c
2 changed files with 4 additions and 4 deletions

View file

@ -5,7 +5,7 @@ name = "PeerTube"
description.en = "Federated video streaming platform using P2P directly in the web browser" description.en = "Federated video streaming platform using P2P directly in the web browser"
description.fr = "Plateforme fédéralisé de diffusion vidéo par P2P directement dans le navigateur" description.fr = "Plateforme fédéralisé de diffusion vidéo par P2P directement dans le navigateur"
version = "5.2.0~ynh1" version = "5.2.1~ynh1"
maintainers = ["yalh76"] maintainers = ["yalh76"]
@ -39,8 +39,8 @@ ram.runtime = "50M"
[resources] [resources]
[resources.sources.main] [resources.sources.main]
url = "https://github.com/Chocobozzz/PeerTube/releases/download/v5.2.0/peertube-v5.2.0.tar.xz" url = "https://github.com/Chocobozzz/PeerTube/releases/download/v5.2.1/peertube-v5.2.1.tar.xz"
sha256 = "42ed1f54cc2da810ceacc5c463c33c99d38d353ba6c055a2322be62d98131b88" sha256 = "27d577ab63d29be865934088d1831373a71433c78443a4441fb3ac416995817c"
autoupdate.strategy = "latest_github_tag" autoupdate.strategy = "latest_github_tag"
[resources.ports] [resources.ports]

View file

@ -17,7 +17,7 @@ admin_mail=$(ynh_user_get_info --username=$admin --key="mail")
admin_pass=$(ynh_string_random --length=24) admin_pass=$(ynh_string_random --length=24)
secrets_peertube=$(ynh_string_random --length=24) secrets_peertube=$(ynh_string_random --length=24)
db_name="peertube_${app}" db_name="peertube_${app}"
db_user=$(ynh_sanitize_dbid --db_name=$app) db_user=$(ynh_sanitize_dbid --db_name=peertube_${app})
ynh_app_setting_set --app=$app --key=db_name --value=$db_name ynh_app_setting_set --app=$app --key=db_name --value=$db_name
ynh_app_setting_set --app=$app --key=db_user --value=$db_user ynh_app_setting_set --app=$app --key=db_user --value=$db_user