From 069110e0bf47129e75bb1fbbfbb81663da503d32 Mon Sep 17 00:00:00 2001 From: Limezy Date: Wed, 15 May 2024 09:39:05 +0700 Subject: [PATCH] Update upgrade --- scripts/upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"