This commit is contained in:
JieXu 2025-11-14 02:27:27 +08:00 committed by GitHub
commit b8eab8b1dd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 16 deletions

View file

@ -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)

View file

@ -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)

10
x-ui.sh
View file

@ -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)