From f58883c912de1ac2523c7a549cdebbca24456007 Mon Sep 17 00:00:00 2001 From: Steven Foerster Date: Mon, 18 Jan 2021 09:37:21 -0500 Subject: [PATCH] better package check --- scripts/subinstallers/cockpit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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