From 8b9caa61d8a4789a8309c638596cbb31c8ae0cb3 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Tue, 25 Jun 2024 10:58:10 +0200 Subject: [PATCH] fix variables --- scripts/upgrade | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 26fc6a6..52b969a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -8,9 +8,9 @@ source /usr/share/yunohost/helpers #================================================= ynh_script_progression "Ensuring downward compatibility..." -ynh_app_setting_set_default --key=weather_api_provider --value=$weather_provider +ynh_app_setting_set_default --key=weather_provider --value=$weather_api_provider -ynh_app_setting_set_default --key=weather_api_key --value=$weather_key +ynh_app_setting_set_default --key=weather_key --value=$weather_api_key #================================================= # LOAD SETTINGS @@ -121,4 +121,4 @@ ynh_systemctl --service="${app}_workers" --action="start" # END OF SCRIPT #================================================= -ynh_script_progression "Upgrade of $app completed" \ No newline at end of file +ynh_script_progression "Upgrade of $app completed"