Update update.sh

This commit is contained in:
JieXu 2025-11-14 02:19:49 +08:00 committed by GitHub
parent 1cb4b60333
commit 477f5c5abc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -76,10 +76,7 @@ install_base() {
ubuntu | debian | armbian) ubuntu | debian | armbian)
apt-get update >/dev/null 2>&1 && apt-get install -y -q wget curl tar tzdata >/dev/null 2>&1 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) fedora | amzn | virtuozzo | centos-stream | 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)
dnf -y update >/dev/null 2>&1 && dnf install -y -q wget curl tar tzdata >/dev/null 2>&1 dnf -y update >/dev/null 2>&1 && dnf install -y -q wget curl tar tzdata >/dev/null 2>&1
;; ;;
arch | manjaro | parch) arch | manjaro | parch)