From 45a5a1ecf8963646f46cf063637b1060a5024976 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Fri, 5 Jan 2024 17:43:17 +0100 Subject: [PATCH] fix upgrade --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 54ae12c..424259a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -28,7 +28,7 @@ done #================================================= ynh_script_progression --message="Ensuring downward compatibility..." --weight=1 -if [[ -n "$document_path" ]]; then +if [[ -n "${document_path:-}" ]]; then # Renamed setting key document_dir="$document_path" ynh_app_setting_delete --app="$app" --key=document_path