From 9e8906096ccaa0abb58014a4c5e843f291b3a7c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 13 Sep 2023 15:41:16 +0200 Subject: [PATCH] fix --- manifest.toml | 6 +++--- scripts/install | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/manifest.toml b/manifest.toml index a0cb003..f778b27 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "PeerTube" 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" -version = "5.2.0~ynh1" +version = "5.2.1~ynh1" maintainers = ["yalh76"] @@ -39,8 +39,8 @@ ram.runtime = "50M" [resources] [resources.sources.main] - url = "https://github.com/Chocobozzz/PeerTube/releases/download/v5.2.0/peertube-v5.2.0.tar.xz" - sha256 = "42ed1f54cc2da810ceacc5c463c33c99d38d353ba6c055a2322be62d98131b88" + url = "https://github.com/Chocobozzz/PeerTube/releases/download/v5.2.1/peertube-v5.2.1.tar.xz" + sha256 = "27d577ab63d29be865934088d1831373a71433c78443a4441fb3ac416995817c" autoupdate.strategy = "latest_github_tag" [resources.ports] diff --git a/scripts/install b/scripts/install index 84dd015..53d670b 100644 --- a/scripts/install +++ b/scripts/install @@ -17,7 +17,7 @@ admin_mail=$(ynh_user_get_info --username=$admin --key="mail") admin_pass=$(ynh_string_random --length=24) secrets_peertube=$(ynh_string_random --length=24) 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_user --value=$db_user