From 54944d2014ce23f68fb7ae41ae10cc1c16b2ebc1 Mon Sep 17 00:00:00 2001 From: Phil Clifford Date: Fri, 12 Aug 2022 12:48:48 +0100 Subject: [PATCH] aligned to install for rhel derivatives --- update.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/update.sh b/update.sh index 4827d65..fcf75cb 100644 --- a/update.sh +++ b/update.sh @@ -65,7 +65,7 @@ if [ "${ID}" = "debian" ] || [ "$OS" = "Ubuntu" ] || [ "$OS" = "Debian" ] || [ prereq+=" dnsutils" sudo apt-get update sudo apt-get install -y "${prereq}" # git -elif [ "$OS" = "CentOS" ] || [ "$OS" = "RedHat" ]; then +elif [ "$OS" = "CentOS" ] || [ "$OS" = "RedHat" ] || [ "${UPSTREAM_ID}" = "rhel" ]; then prereq+=" bind-utils" sudo yum update -y sudo yum install -y "${prereq}" # git @@ -107,4 +107,3 @@ rm gohttpserver_${GOHTTPLATEST}_linux_amd64.tar.gz sudo systemctl start gohttpserver.service echo -e "Updates are complete" -