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 #=================================================