From 35f32ed19cf2a534133d34d952479894f60e864d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 20 Sep 2023 17:58:31 +0200 Subject: [PATCH] fix --- scripts/change_url | 9 ++++++++- scripts/upgrade | 7 +++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/scripts/change_url b/scripts/change_url index 0b838d9..d4cbdc4 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -9,6 +9,13 @@ source _common.sh source /usr/share/yunohost/helpers +#================================================= +# LOAD SETTINGS +#================================================= +ynh_script_progression --message="Loading installation settings..." + +password=$(ynh_app_setting_get --app=$app --key=password) + #================================================= # STANDARD MODIFICATIONS #================================================= @@ -31,7 +38,7 @@ ynh_change_url_nginx_config # UPDATE A CONFIG FILE #================================================= ynh_script_progression --message="Updating a configuration file..." -#REMOVEME? + domain=$new_domain path=$new_path diff --git a/scripts/upgrade b/scripts/upgrade index ef12b3c..30f8e1d 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -9,6 +9,13 @@ source _common.sh source /usr/share/yunohost/helpers +#================================================= +# LOAD SETTINGS +#================================================= +ynh_script_progression --message="Loading installation settings..." + +password=$(ynh_app_setting_get --app=$app --key=password) + #================================================= # CHECK VERSION #=================================================