diff --git a/install.sh b/install.sh index 0ec2aaa4..0b89b6ef 100644 --- a/install.sh +++ b/install.sh @@ -44,10 +44,7 @@ install_base() { ubuntu | debian | armbian) apt-get update && apt-get install -y -q wget curl tar tzdata ;; - centos | rhel | almalinux | rocky | ol) - yum -y update && yum install -y -q wget curl tar tzdata - ;; - fedora | amzn | virtuozzo) + fedora | amzn | virtuozzo | centos-stream | rhel | almalinux | rocky | ol) dnf -y update && dnf install -y -q wget curl tar tzdata ;; arch | manjaro | parch) diff --git a/update.sh b/update.sh index 793c5097..77dbaf52 100755 --- a/update.sh +++ b/update.sh @@ -76,10 +76,7 @@ install_base() { ubuntu | debian | armbian) apt-get update >/dev/null 2>&1 && apt-get install -y -q wget curl tar tzdata >/dev/null 2>&1 ;; - centos | rhel | almalinux | rocky | ol) - yum -y update >/dev/null 2>&1 && yum install -y -q wget curl tar tzdata >/dev/null 2>&1 - ;; - fedora | amzn | virtuozzo) + fedora | amzn | virtuozzo | centos-stream | rhel | almalinux | rocky | ol) dnf -y update >/dev/null 2>&1 && dnf install -y -q wget curl tar tzdata >/dev/null 2>&1 ;; arch | manjaro | parch) diff --git a/x-ui.sh b/x-ui.sh index 4b0989eb..2e06e300 100644 --- a/x-ui.sh +++ b/x-ui.sh @@ -509,10 +509,7 @@ enable_bbr() { ubuntu | debian | armbian) apt-get update && apt-get install -yqq --no-install-recommends ca-certificates ;; - centos | rhel | almalinux | rocky | ol) - yum -y update && yum -y install ca-certificates - ;; - fedora | amzn | virtuozzo) + fedora | amzn | virtuozzo | centos-stream | rhel | almalinux | rocky | ol) dnf -y update && dnf -y install ca-certificates ;; arch | manjaro | parch) @@ -1073,10 +1070,7 @@ ssl_cert_issue() { ubuntu | debian | armbian) apt-get update && apt-get install socat -y ;; - centos | rhel | almalinux | rocky | ol) - yum -y update && yum -y install socat - ;; - fedora | amzn | virtuozzo) + fedora | amzn | virtuozzo | centos-stream | rhel | almalinux | rocky | ol) dnf -y update && dnf -y install socat ;; arch | manjaro | parch)