Fix docker installed check

This commit is contained in:
Justin Trujillo 2022-06-03 12:01:36 -06:00
parent 31c9295a76
commit 829a1b9e7a

View file

@ -16,7 +16,7 @@ echo
OS="$(cat /etc/[A-Za-z]*[_-][rv]e[lr]* | grep "^ID=" | cut -d= -f2 | uniq | tr '[:upper:]' '[:lower:]' | tr -d '"')"
if ! command -v docker >/dev/null; then
if command -v docker >/dev/null; then
echo "Docker is already installed"
else
echo "Installing Docker"