From 54556d6d46e58e8ac473862e1d465621e184235a Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Sun, 17 Dec 2023 10:35:53 -0500 Subject: [PATCH] test --- 30-Checking_Topgrade_Installation_Status.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/30-Checking_Topgrade_Installation_Status.sh b/30-Checking_Topgrade_Installation_Status.sh index d50b22e..27617a1 100644 --- a/30-Checking_Topgrade_Installation_Status.sh +++ b/30-Checking_Topgrade_Installation_Status.sh @@ -57,12 +57,16 @@ fi # Ubuntu Jammy need focal repo to get this if ! is_shared_lib_present libssl.so.1.1 then + distro= $(get_dist) + printf "$COL_YELLOW" "** Distrobution detected as $distro" if get_dist == "Ubuntu" ]] then printf "$COL_YELLOW" "** libssl.so.1.1 library missing, installing now" echo "deb http://security.ubuntu.com/ubuntu focal-security main" | sudo tee /etc/apt/sources.list.d/focal-security.list apt update apt install -y libssl1.1 + else + printf "$COL_RED" "** libssl.so.1.1 library missing, and no special fix for distro: $distro" fi fi