From 03fd15d484ab5a95511ee494452a8aca39fe140e Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Tue, 11 Jun 2024 22:05:23 +0200 Subject: [PATCH] Fix install script version check (#665) * Fix install script version check --- install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install b/install index a5860c7..6333c9f 100755 --- a/install +++ b/install @@ -932,7 +932,8 @@ else wo_lib_echo "WordOps (wo) upgrade to $wo_version_new was successful!" wo_lib_echo "Changelog is available on https://github.com/WordOps/WordOps/releases/tag/$wo_version_new" echo - if "v3.21" in "$wo_version_new"; then + version_to_check="v3.21" + if echo "$wo_version_new" | grep -q "$version_to_check"; then wo_lib_echo "To upgrade Nginx package and configuration for HTTP/3 QUIC, use the following command" wo_lib_echo_info "wo stack migrate --nginx" fi