diff --git a/scripts/subinstallers/cockpit.sh b/scripts/subinstallers/cockpit.sh index fbdb141..3df815a 100755 --- a/scripts/subinstallers/cockpit.sh +++ b/scripts/subinstallers/cockpit.sh @@ -16,7 +16,7 @@ fi sudo -E apt-get install -y cockpit -if $(sudo apt-cache show cockpit-docker > /dev/null 2>&1) ; then +if [ $(sudo apt-cache show cockpit-docker > /dev/null 2>&1) ]; then # no longer supported upstream in Ubuntu 20.04 sudo -E apt-get install -y cockpit-docker fi