Probe for podman-compose instead, and use it, otherwise fallback to docker-compose.

This commit is contained in:
lingfish
2026-03-01 16:55:43 +11:00
parent cb8b298648
commit dbbce4167f
+1 -5
View File
@@ -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