From db8ad8dc49e5cbbcedc59752cc7ddcee9b7f2a59 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Sun, 31 Dec 2023 22:26:58 +0100 Subject: [PATCH 1/2] add the missing --app to ynh_app_setting_set --- scripts/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/config b/scripts/config index 711fd16..57c1c3b 100644 --- a/scripts/config +++ b/scripts/config @@ -93,7 +93,7 @@ set__prices() { #--------------------------------------------- # IMPORTANT: to be able to upgrade properly, you have to save the value in settings too #--------------------------------------------- - ynh_app_setting_set $app prices $prices + ynh_app_setting_set --app=$app prices $prices } #================================================= From 87b615fd55f69b5f6167ec91c698e982bd5f223c Mon Sep 17 00:00:00 2001 From: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com> Date: Sun, 31 Dec 2023 22:49:46 +0100 Subject: [PATCH 2/2] Update scripts/config: make sure to use keyword args for all args --- scripts/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/config b/scripts/config index 57c1c3b..52b80fa 100644 --- a/scripts/config +++ b/scripts/config @@ -93,7 +93,7 @@ set__prices() { #--------------------------------------------- # IMPORTANT: to be able to upgrade properly, you have to save the value in settings too #--------------------------------------------- - ynh_app_setting_set --app=$app prices $prices + ynh_app_setting_set --app=$app --key=prices --value="$prices" } #=================================================