From a2bf134518d20c3b0238dcd0b51f4127b1467979 Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Fri, 4 Jun 2021 11:06:54 +0200 Subject: [PATCH] Docker install bugfix. It seems there is no more docker-ce in Ubuntu Focal --- compile.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compile.sh b/compile.sh index 2390c68a2c..6d3c424c90 100755 --- a/compile.sh +++ b/compile.sh @@ -164,8 +164,8 @@ if [[ "${1}" == docker && -f /etc/debian_version && -z "$(command -v docker)" ]] [[ "${codename}" == "debbie" ]] && codename="buster" && codeid="debian" [[ "${codename}" == "ulyana" ]] && codename="focal" && codeid="ubuntu" - # different binnaries for Hirsute - [[ "${codename}" == "hirsute" ]] && DOCKER_BINARY="docker containerd docker.io" + # different binnaries for some. TBD. Need to check for all others + [[ "${codename}" =~ focal|hirsute ]] && DOCKER_BINARY="docker containerd docker.io" display_alert "Docker not installed." "Installing" "Info" echo "deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/${codeid} ${codename} stable" > /etc/apt/sources.list.d/docker.list