zimbra/zmbuilder/patches/get_plat_tag_alma.patch

16 lines
413 B
Diff

--- zm-build/rpmconf/Build/get_plat_tag.sh 2022-01-17 09:04:54.494738132 +0100
+++ get_plat_tag.sh 2022-02-01 20:58:34.849899069 +0100
@@ -79,6 +79,12 @@
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}"