Fix install script version check

This commit is contained in:
VirtuBox
2024-06-11 21:58:43 +02:00
parent 007da6cd45
commit 5e316cc8ac

View File

@@ -932,7 +932,7 @@ 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
if [[ "$wo_version_new" == *"v3.21"* ]]; 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