From 7ef09bdf3035657de32d602f9520533bdc33918b Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sat, 14 Oct 2023 18:31:13 +0200 Subject: [PATCH] Better handle missing blog_admin during upgrade --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index b5b457b..93e457e 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -23,7 +23,7 @@ upgrade_type=$(ynh_check_app_version_changed) #================================================= ynh_script_progression --message="Ensuring downward compatibility..." -if [ -z "$blog_admin" ] || +if [ -z "${blog_admin:-}" ] || [ -z "$blog_contentadmin" ] || [ -z "$blog_usage" ] || [ -z "$blog_publish" ] ||