From de812221efaa2c36e2db7b40ff30c8a672c85f5c Mon Sep 17 00:00:00 2001 From: DerLinkman Date: Tue, 28 Nov 2023 08:29:54 +0100 Subject: [PATCH] Implemented improved check in update.sh as well. --- update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.sh b/update.sh index 419f85f4..f636b21e 100755 --- a/update.sh +++ b/update.sh @@ -171,7 +171,7 @@ remove_obsolete_nginx_ports() { detect_docker_compose_command(){ if ! [[ "${DOCKER_COMPOSE_VERSION}" =~ ^(native|standalone)$ ]]; then if docker compose > /dev/null 2>&1; then - if docker compose version --short | grep "2." > /dev/null 2>&1; then + if docker compose version --short | grep -e "^2." -e "^v2." > /dev/null 2>&1; then DOCKER_COMPOSE_VERSION=native COMPOSE_COMMAND="docker compose" echo -e "\e[33mFound Docker Compose Plugin (native).\e[0m"