From 06b167fe13139a0e68e33774661f7f6cf44706c1 Mon Sep 17 00:00:00 2001 From: Simon Mellerin Date: Fri, 5 Jan 2024 11:22:10 +0100 Subject: [PATCH] Fix upgrade script --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 4f90781..c17e2fa 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -33,7 +33,7 @@ fi # now need to be installed under its own domain. # If the app is currently installed under a path, we warn the admin # that he should move the app under its own domain -if [ -n "$path" ]; then +if [ "$path" != "/" ]; then ynh_die --message="Since version 2.0.0, $app need to be installed under its own domain. \ Before upgrading, change $app URL: delete the path and switch to a new domain if needed." fi