From 8c5b69b69631d91db9286ad54d4e46936f30c87b Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 16 Sep 2021 18:55:21 +0200 Subject: [PATCH] Add support for AlmaLinux 8 --- rpmconf/Build/get_plat_tag.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rpmconf/Build/get_plat_tag.sh b/rpmconf/Build/get_plat_tag.sh index a72a0fbe0..f0a2a3819 100755 --- a/rpmconf/Build/get_plat_tag.sh +++ b/rpmconf/Build/get_plat_tag.sh @@ -73,6 +73,12 @@ if [ -f /etc/redhat-release ]; then exit 0 fi + grep "AlmaLinux release 8" /etc/redhat-release > /dev/null 2>&1 + if [ $? = 0 ]; then + echo "RHEL8${i}" + exit 0 + fi + grep "Fedora release 23" /etc/redhat-release >/dev/null 2>&1 if [ $? = 0 ]; then echo "F23${i}"