little tweak
This commit is contained in:
parent
1fed68526c
commit
49b49f9723
5
setup.sh
5
setup.sh
|
@ -12,14 +12,15 @@ _check_root() {
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ -z "${CRI}" ]; then
|
if [ -z "${CRI}" ]; then
|
||||||
if [ ! -z "$(command -v docker)" ]; then
|
if [ ! -z "$(command -v docker)" ]; then
|
||||||
CRI=docker
|
CRI=docker
|
||||||
else if [ ! -z "$(command -v podman)" ]; then
|
else if [ ! -z "$(command -v podman)" ]; then
|
||||||
CRI=podman
|
CRI=podman
|
||||||
_check_root
|
_check_root
|
||||||
else do
|
else
|
||||||
echo "No Supported Container Runtime Interface Detected."
|
echo "No Support Container Runtime Interface Detected."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue