From c861f03ceda3ed9f4478f4174ddf67564fca51ed Mon Sep 17 00:00:00 2001 From: JieXu Date: Mon, 18 Aug 2025 09:32:29 +0800 Subject: [PATCH] Update package-rhel.sh --- package-rhel.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package-rhel.sh b/package-rhel.sh index bbc57ad0..3c4bfbb0 100644 --- a/package-rhel.sh +++ b/package-rhel.sh @@ -5,12 +5,12 @@ set -euo pipefail if [[ -r /etc/os-release ]]; then . /etc/os-release case "$ID" in - rhel|rocky|almalinux) + rhel|rocky|almalinux|centos) echo "[OK] Detected supported system: $NAME $VERSION_ID" ;; *) echo "[ERROR] Unsupported system: $NAME ($ID)." - echo "This script only supports Red Hat Enterprise Linux / Rocky Linux / AlmaLinux." + echo "This script only supports Red Hat Enterprise Linux / Rocky Linux / AlmaLinux / CentOS Stream." exit 1 ;; esac