#!/bin/sh
# Friendly 1-click install: fail early with a clear message if the Docker
# runtime (Container Manager) is missing — instead of DSM's cryptic
# "The following packages are in the package server" error.
if [ ! -x /usr/local/bin/docker ] && ! command -v docker >/dev/null 2>&1; then
    echo "This package needs Container Manager (Docker). Install it from Package Center first." >&2
    exit 1
fi
exit 0
