From 69205b2a38fb352b87544e484f87e3d9e6f4ade5 Mon Sep 17 00:00:00 2001 From: Steven Foerster Date: Wed, 29 Apr 2020 21:33:36 -0400 Subject: [PATCH] cockpit-docker --- scripts/subinstallers/cockpit.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/subinstallers/cockpit.sh b/scripts/subinstallers/cockpit.sh index da90569..50d69ec 100755 --- a/scripts/subinstallers/cockpit.sh +++ b/scripts/subinstallers/cockpit.sh @@ -5,7 +5,12 @@ figlet "Mistborn: Installing Cockpit" if [ "$DISTRO" == "ubuntu" ]; then echo "Ubuntu backports enabled by default" - sudo apt-get install -y cockpit cockpit-docker + sudo apt-get install -y cockpit + + if [ "$VERSION_ID" == "18.04" ]; then + # no longer supported upstream in Ubuntu 20.04 + sudo apt-get install -y cockpit-docker + fi elif [ "$DISTRO" == "debian" ]; then sudo grep -qF "buster-backports" /etc/apt/sources.list.d/backports.list \