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:
parent
96e192de6e
commit
6d9b9aaf76
1 changed files with 17 additions and 16 deletions
|
@ -218,24 +218,25 @@ then
|
|||
|
||||
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
|
||||
ynh_print_info "No update from repo ! (Already up to date)"
|
||||
fi
|
||||
else
|
||||
ynh_print_info "No update from repo ! (Trusted version)"
|
||||
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
|
Loading…
Add table
Reference in a new issue