From 043071a17520471a2caa3846ca73d0bcc50e4af2 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sat, 2 Jan 2021 20:09:35 +0100 Subject: [PATCH] Since buster(?) the page title is 'Welcome to nginx!'... --- lib/tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tests.sh b/lib/tests.sh index 4ff05fe..4b7adba 100644 --- a/lib/tests.sh +++ b/lib/tests.sh @@ -222,7 +222,7 @@ _VALIDATE_THAT_APP_CAN_BE_ACCESSED () { log_debug "The connection attempt fall on the YunoHost portal." fell_on_sso_portal=1 # Falling on nginx default page is an error. - elif [ "$page_title" = "Welcome to nginx on Debian!" ] + elif echo "$page_title" | grep -q "Welcome to nginx" then log_error "The connection attempt fall on nginx default page." curl_error=1