From 780eb63f8536974845df37b2dd59d86a6a4a92c7 Mon Sep 17 00:00:00 2001 From: Ada Date: Mon, 6 Apr 2026 10:36:25 -0400 Subject: [PATCH] =?UTF-8?q?setup.sh:=20fix=20docker-compose=20=E2=80=94=20?= =?UTF-8?q?check=20for=20both=20plugin=20and=20standalone,=20install=20sta?= =?UTF-8?q?ndalone=20docker-compose=20if=20plugin=20unavailable?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/setup.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deploy/setup.sh b/deploy/setup.sh index 890c151..f5585ef 100755 --- a/deploy/setup.sh +++ b/deploy/setup.sh @@ -41,10 +41,12 @@ if command -v docker &> /dev/null; then DOCKER_VERSION=$(docker --version 2>/dev/null | awk '{print $3}' | tr -d ',') fi -# Check for docker-compose plugin +# Check for docker-compose plugin OR standalone docker-compose COMPOSE_INSTALLED=false if docker compose version &> /dev/null; then COMPOSE_INSTALLED=true +elif command -v docker-compose &> /dev/null; then + COMPOSE_INSTALLED=true fi # Check if repo already exists