From 6502b7d667b3325e8f456103a718d0780a9e4d98 Mon Sep 17 00:00:00 2001 From: Erisa A Date: Mon, 14 Apr 2025 16:54:51 +0100 Subject: [PATCH] scripts/installer.sh: add Miracle Linux as a RHEL derivative (#15671) Fixes #15669 Signed-off-by: Erisa A --- scripts/installer.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/installer.sh b/scripts/installer.sh index 0b360b8a1..f81ae5292 100755 --- a/scripts/installer.sh +++ b/scripts/installer.sh @@ -208,8 +208,11 @@ main() { PACKAGETYPE="yum" fi ;; - rhel) + rhel|miraclelinux) OS="$ID" + if [ "$ID" = "miraclelinux" ]; then + OS="rhel" + fi VERSION="$(echo "$VERSION_ID" | cut -f1 -d.)" PACKAGETYPE="dnf" if [ "$VERSION" = "7" ]; then