1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/minchat_ynh.git synced 2024-09-03 19:36:29 +02:00

[fix] type booleen upgrade script

This commit is contained in:
magikcypress 2017-05-01 16:36:17 +02:00
parent 02d4bd1144
commit 7597b1b21f

View file

@ -49,8 +49,12 @@ ynh_nginx_config
ynh_fpm_config
# Set ssowat config
if [[ $is_public -eq 1 ]]; then
ynh_app_setting_set "$app" unprotected_uris "/"
if [ "$is_public" = "Yes" ]; then
ynh_app_setting_set $app is_public 1 # Fixe is_public en booléen
is_public=1
elif [ "$is_public" = "No" ]; then
ynh_app_setting_set $app is_public 0
is_public=0
fi
# Reload Nginx