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() {