From 0ebfb701dea01ae81bdbacbc53a099354bc758ed Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 2 Aug 2021 12:32:16 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 2c58ded..abade61 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -53,8 +53,8 @@ upgrade_type=$(ynh_check_app_version_changed) #================================================= ynh_script_progression --message="Ensuring downward compatibility..." --weight=1 -if [ -z "$admin" ] then - admin="default_value"; +if [ -z "$admin" ]; then + admin="default_value" ynh_app_setting_set --app=$app --key=admin --value=$admin fi