mirror of
https://github.com/borgmatic-collective/borgmatic.git
synced 2026-07-22 02:03:01 +02:00
Probe for podman-compose instead, and use it, otherwise fallback to docker-compose.
This commit is contained in:
+1
-5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user