Corriger l’enregistrement du logo SSO
This commit is contained in:
parent
bd3dff9dba
commit
32c33580e4
2 changed files with 5 additions and 3 deletions
|
|
@ -5,7 +5,7 @@ id = "globinours"
|
||||||
name = "Globinours"
|
name = "Globinours"
|
||||||
description.en = "Lightweight animal shelter management"
|
description.en = "Lightweight animal shelter management"
|
||||||
description.fr = "Gestion légère et complète pour refuges animaliers"
|
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"]
|
maintainers = ["OverSu"]
|
||||||
|
|
||||||
[upstream]
|
[upstream]
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,11 @@ php_upload_max_filesize="250M"
|
||||||
|
|
||||||
install_yunohost_logo() {
|
install_yunohost_logo() {
|
||||||
install -D -m 0644 "$YNH_APP_BASEDIR/logo.png" "/usr/share/yunohost/applogos/$app.png"
|
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" \
|
--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() {
|
prepare_persistent_paths() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue