mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-07-12 18:34:52 +02:00
little tweak
This commit is contained in:
parent
1fed68526c
commit
49b49f9723
1 changed files with 3 additions and 2 deletions
5
setup.sh
5
setup.sh
|
@ -12,14 +12,15 @@ _check_root() {
|
|||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
if [ -z "${CRI}" ]; then
|
||||
if [ ! -z "$(command -v docker)" ]; then
|
||||
CRI=docker
|
||||
else if [ ! -z "$(command -v podman)" ]; then
|
||||
CRI=podman
|
||||
_check_root
|
||||
else do
|
||||
echo "No Supported Container Runtime Interface Detected."
|
||||
else
|
||||
echo "No Support Container Runtime Interface Detected."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue