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"