Update package-rhel.sh

This commit is contained in:
JieXu 2025-10-20 23:51:22 +08:00 committed by GitHub
parent 53aea08e9d
commit 82851b77ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail
# == Require Red Hat Enterprise Linux/FedoraLinux/RockyLinux/AlmaLinux/CentOS OR Ubuntu/Debian ==
if [[ -r /etc/os-release ]]; then
. /etc/os-release