From cc0c9de1fda5b6416582543124e412776109cf50 Mon Sep 17 00:00:00 2001 From: classicalliu Date: Sun, 25 Jun 2023 16:28:28 +0800 Subject: [PATCH] chore: Update docker compose check --- kicker | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kicker b/kicker index 22a3d96..4d4d8a5 100755 --- a/kicker +++ b/kicker @@ -12,10 +12,10 @@ WORKSPACE="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )" # TODO cargo fetch via proxy DOCKER_COMPOSE="docker compose" -if command -v docker compose &> /dev/null +if docker compose version &> /dev/null then DOCKER_COMPOSE="docker compose" -elif command -v docker-compose &> /dev/null +elif docker-compose version &> /dev/null then DOCKER_COMPOSE="docker-compose" else