From 346c4d5230dba89352c61ee8772987ee1daabe88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 20 Oct 2023 19:47:25 +0200 Subject: [PATCH] Update change_url --- scripts/change_url | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/change_url b/scripts/change_url index 20ecf75..84fc887 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -9,6 +9,13 @@ source _common.sh source /usr/share/yunohost/helpers +#================================================= +# MODIFY URL IN NGINX CONF +#================================================= +ynh_script_progression --message="Updating NGINX web server configuration..." --weight=1 + +ynh_change_url_nginx_config + #================================================= # UPDATE A CONFIG FILE #================================================= @@ -24,14 +31,7 @@ chown $app:$app "$install_dir/app/data/_data_/_default_/configs/application.ini" #================================================= ynh_script_progression --message="Applying SSO patch..." --weight=1 -ynh_add_config --template="../conf/sso.php" --destination="$install_dir/index.php" - -#================================================= -# MODIFY URL IN NGINX CONF -#================================================= -ynh_script_progression --message="Updating NGINX web server configuration..." --weight=1 - -ynh_change_url_nginx_config +ynh_add_config --template="sso.php" --destination="$install_dir/index.php" #================================================= # END OF SCRIPT