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 \