diff --git a/scripts/upgrade b/scripts/upgrade index e460679..ff66ce3 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -72,9 +72,9 @@ then ynh_script_progression --message="Migrating default language variable" if [ "$language" == "fr" ] then - $language = "fr_FR" + ynh_app_setting_set --app=$app --key=language --value="fr_FR" else - $language = "en_US" + ynh_app_setting_set --app=$app --key=language --value="en_US" fi else ynh_script_progression --message="No default language migration to be done"