From ea60628db5c12a798c6b564d085dd7f79d999faa Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 25 Jan 2021 23:55:48 +0100 Subject: [PATCH] Small fixes --- scripts/install | 2 +- scripts/upgrade | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/scripts/install b/scripts/install index 50d83cc..d65d16b 100644 --- a/scripts/install +++ b/scripts/install @@ -98,7 +98,7 @@ chown -R $app: $final_path ynh_script_progression --message="Configuring SSOwat..." --weight=1 # Make app public if necessary or protect it -[ $is_public -eq 0 ] || ynh_permission_update --permission "main" --add "visitors" +[ $is_public -eq 0 ] || ynh_permission_update --permission="main" --add="visitors" #================================================= # RELOAD NGINX diff --git a/scripts/upgrade b/scripts/upgrade index 1a6fccb..1559b71 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -92,18 +92,6 @@ ynh_script_progression --message="Upgrading NGINX web server configuration..." - # Create a dedicated nginx config ynh_add_nginx_config -#================================================= -# SETUP SSOWAT -#================================================= -ynh_script_progression --message="Upgrading SSOwat configuration..." --weight=1 - -# 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=$app --key=unprotected_uris --value="/" -fi - #================================================= # RELOAD NGINX #=================================================