From 6c0ffa2cba89ac0f554e92941ff0519576e3f3ae Mon Sep 17 00:00:00 2001 From: Sebastian Werner Date: Thu, 2 Jul 2020 11:08:06 +0000 Subject: [PATCH] Update cockpit.sh --- scripts/subinstallers/cockpit.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/subinstallers/cockpit.sh b/scripts/subinstallers/cockpit.sh index 07ea9f2..104feb2 100755 --- a/scripts/subinstallers/cockpit.sh +++ b/scripts/subinstallers/cockpit.sh @@ -15,24 +15,24 @@ elif [ "$DISTRO" == "raspbian" ]; then echo "Raspbian repos contain cockpit" -elif [ "$DISTRO" == "arch"]; then +elif [ "$DISTRO" == "arch" ]; then echo "Arch Linux repos contain cockpit" fi -if [ "$DISTRO" == "ubuntu" ] || [ "$DISTRO" == "debian" ] || [ "$DISTRO" == "raspbian" ] ; then +if [ "$DISTRO" == "ubuntu" ] || [ "$DISTRO" == "debian" ] || [ "$DISTRO" == "raspbian" ]; then sudo apt-get install -y cockpit elif ["$DISTRO" == "arch"]; then sudo pacman -S --noconfirm cockpit fi -if [ "$DISTRO" == "ubuntu" ] || [ "$DISTRO" == "debian" ] || [ "$DISTRO" == "raspbian" ] ; then +if [ "$DISTRO" == "ubuntu" ] || [ "$DISTRO" == "debian" ] || [ "$DISTRO" == "raspbian" ]; then if $(sudo apt-cache show cockpit-docker > /dev/null 2>&1) ; then # no longer supported upstream in Ubuntu 20.04 sudo apt-get install -y cockpit-docker fi -elif ["$DISTRO" == "arch"]; then +elif [ "$DISTRO" == "arch" ]; then sudo pacman -S --noconfirm cockpit-docker fi