From 64ce1701be7cc919abe0b8e5dfa269797a195189 Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Wed, 28 Oct 2020 11:56:09 +0100 Subject: [PATCH] Enabled Ubuntu 20.04 for validation and testing --- Scripts/SMI.sh | 5 +---- installer.sh | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/Scripts/SMI.sh b/Scripts/SMI.sh index 5b37d47..66c7450 100644 --- a/Scripts/SMI.sh +++ b/Scripts/SMI.sh @@ -29,18 +29,15 @@ dist_ver=$(grep --color=never -Po "^VERSION_ID=\K.*" "/etc/os-release") dist=$(grep --color=never -Po "^ID=\K.*" "/etc/os-release") if [[ "${dist}" == *"ubuntu"* ]] && [[ "${dist_ver}" == *"18.04"* ]]; then - echo "Ubuntu 18.04 Detected" PKGM="$APTMODE" PKGI="${PKGM} install -y --no-install-recommends" PKGLIST="apt" shortdist=ubu1804 elif [[ "${dist}" == *"ubuntu"* ]] && [[ "${dist_ver}" == *"20.04"* ]]; then - echo "Ubuntu 20.04 Detected" + echo "Ubuntu 20.04 is not yet fully tested, not recommended for production server" PKGM="$APTMODE" PKGI="${PKGM} install -y --no-install-recommends" PKGLIST="apt" - echo "This OS is not supported" - exit shortdist=ubu2004 elif [[ "${dist}" == *"debian"* ]] && [[ "${dist_ver}" == *"10"* ]]; then echo "Debian 10 Detected" diff --git a/installer.sh b/installer.sh index 17083fc..de864fb 100644 --- a/installer.sh +++ b/installer.sh @@ -37,18 +37,15 @@ dist_ver=$(grep --color=never -Po "^VERSION_ID=\K.*" "/etc/os-release") dist=$(grep --color=never -Po "^ID=\K.*" "/etc/os-release") if [[ "${dist}" == *"ubuntu"* ]] && [[ "${dist_ver}" == *"18.04"* ]]; then - echo "Ubuntu 18.04 Detected" PKGM="$APTMODE" PKGI="${PKGM} install -y --no-install-recommends" PKGLIST="apt" shortdist=ubu1804 elif [[ "${dist}" == *"ubuntu"* ]] && [[ "${dist_ver}" == *"20.04"* ]]; then - echo "Ubuntu 20.04 Detected" + echo "Ubuntu 20.04 is not yet fully tested, not recommended for production server" PKGM="$APTMODE" PKGI="${PKGM} install -y --no-install-recommends" PKGLIST="apt" - echo "This os in not supported" - exit shortdist=ubu2004 elif [[ "${dist}" == *"debian"* ]] && [[ "${dist_ver}" == *"10"* ]]; then echo "Debian 10 Detected"