From dbbce4167f9e4a46027a2e83796e80138362d5b7 Mon Sep 17 00:00:00 2001 From: lingfish Date: Sun, 1 Mar 2026 16:55:43 +1100 Subject: [PATCH] Probe for `podman-compose` instead, and use it, otherwise fallback to `docker-compose`. --- scripts/dev-docs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/scripts/dev-docs b/scripts/dev-docs index 590fb56c..405dc791 100755 --- a/scripts/dev-docs +++ b/scripts/dev-docs @@ -2,11 +2,7 @@ set -e -if command -v podman >/dev/null 2>&1; then - if ! command -v podman-compose >/dev/null 2>&1; then - echo "Error: podman is installed, but podman-compose is missing." >&2 - exit 1 - fi +if command -v podman-compose >/dev/null 2>&1; then COMPOSE_CMD="podman-compose" export CONTAINER_SOCKET_PATH="${XDG_RUNTIME_DIR:-/run/user/$UID}/podman/podman.sock" else