新增适配 Oracle Linux 操作系统

This commit is contained in:
Super Manito
2025-07-18 09:26:32 +08:00
parent 14cfbc727d
commit 76b8b0834a
2 changed files with 41 additions and 11 deletions

View File

@@ -1346,7 +1346,7 @@ function check_installed_result() {
function get_package_manager() {
local command="yum"
case "${SYSTEM_JUDGMENT}" in
"${SYSTEM_CENTOS_STREAM}" | "${SYSTEM_ROCKY}" | "${SYSTEM_ALMALINUX}" | "${SYSTEM_RHEL}")
"${SYSTEM_RHEL}" | "${SYSTEM_CENTOS_STREAM}" | "${SYSTEM_ROCKY}" | "${SYSTEM_ALMALINUX}" | "${SYSTEM_ORACLE}")
case "${SYSTEM_VERSION_ID_MAJOR}" in
9 | 10)
command="dnf"