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:
parent
02d4bd1144
commit
7597b1b21f
1 changed files with 6 additions and 2 deletions
|
@ -49,8 +49,12 @@ ynh_nginx_config
|
||||||
ynh_fpm_config
|
ynh_fpm_config
|
||||||
|
|
||||||
# Set ssowat config
|
# Set ssowat config
|
||||||
if [[ $is_public -eq 1 ]]; then
|
if [ "$is_public" = "Yes" ]; then
|
||||||
ynh_app_setting_set "$app" unprotected_uris "/"
|
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
|
fi
|
||||||
|
|
||||||
# Reload Nginx
|
# Reload Nginx
|
||||||
|
|
Loading…
Reference in a new issue