From c9d85da1ff6130ab9b1b093cae6fc175c927ee60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 2 Mar 2023 12:12:10 +0100 Subject: [PATCH] Update upgrade --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 4f9f42c..af55559 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -29,7 +29,7 @@ ynh_systemd_action --service_name=$app --action="stop" --log_path="systemd" #================================================= ynh_script_progression --message="Ensuring downward compatibility..." --weight=1 -if [ -z "$enable_registrations" ]; then +if [ -z "${enable_registrations:-}" ]; then enable_registrations="false" ynh_app_setting_set --app=$app --key=enable_registrations --value=$enable_registrations fi