1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/zabbix_ynh.git synced 2024-09-03 20:36:14 +02:00

Update upgrade

This commit is contained in:
Mickael-Martin 2019-02-05 13:24:45 +01:00
parent 96e192de6e
commit 6d9b9aaf76

View file

@ -218,24 +218,25 @@ then
rm -fr /tmp/zabbix* rm -fr /tmp/zabbix*
#=================================================
# SETUP SSOWAT
#=================================================
# Make app public if necessary
if [ $is_public -eq 1 ]
then
# unprotected_uris allows SSO credentials to be passed anyway.
ynh_app_setting_set $app unprotected_uris "/"
else
ynh_app_setting_set $app unprotected_uris ""
fi
systemctl reload nginx
yunohost app ssowatconf
else else
ynh_print_info "No update from repo ! (Already up to date)" ynh_print_info "No update from repo ! (Already up to date)"
fi fi
else else
ynh_print_info "No update from repo ! (Trusted version)" ynh_print_info "No update from repo ! (Trusted version)"
fi fi
#=================================================
# RE-ENABLE SSOWAT
#=================================================
# Make app public if necessary
if [ $is_public -eq 1 ]
then
# unprotected_uris allows SSO credentials to be passed anyway.
ynh_app_setting_set $app unprotected_uris "/"
else
ynh_app_setting_set $app unprotected_uris ""
fi
systemctl reload nginx
yunohost app ssowatconf