From 32c33580e4f0735d7ec8f4889d21f6d64709a158 Mon Sep 17 00:00:00 2001 From: oversu <95a7002b-481b-4ef3-b578-f9c421550aa4@localhost> Date: Fri, 4 Sep 2026 11:45:31 +0200 Subject: [PATCH] =?UTF-8?q?Corriger=20l=E2=80=99enregistrement=20du=20logo?= =?UTF-8?q?=20SSO?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.toml | 2 +- scripts/_common.sh | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/manifest.toml b/manifest.toml index cea825d..5ccf5b6 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ id = "globinours" name = "Globinours" description.en = "Lightweight animal shelter management" description.fr = "Gestion légère et complète pour refuges animaliers" -version = "1.0.0-rc.3~ynh7" +version = "1.0.0-rc.3~ynh8" maintainers = ["OverSu"] [upstream] diff --git a/scripts/_common.sh b/scripts/_common.sh index 231b843..4c4e9b1 100755 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -5,9 +5,11 @@ php_upload_max_filesize="250M" install_yunohost_logo() { install -D -m 0644 "$YNH_APP_BASEDIR/logo.png" "/usr/share/yunohost/applogos/$app.png" - yunohost app config set "$app" permission_main_logo \ + if ! yunohost app config set "$app" _core.permission_main.permission_main_logo \ --value="$YNH_APP_BASEDIR/logo.png" \ - --core + --core; then + ynh_print_warn --message="Le logo du portail YunoHost n'a pas pu être enregistré. L'installation de Globinours continue." + fi } prepare_persistent_paths() {