From cafcb250ec54d2c9140bf2f7e3b5aeeff7c5aae3 Mon Sep 17 00:00:00 2001 From: JieXu Date: Thu, 2 Oct 2025 05:11:37 +0800 Subject: Add support for OpenSUSE Leap (#3573) * Update update.sh * Update install.sh * Update x-ui.sh * Update x-ui.sh --- update.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'update.sh') diff --git a/update.sh b/update.sh index 9304b38a..c7ef0235 100755 --- a/update.sh +++ b/update.sh @@ -76,7 +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 | almalinux | rocky | ol) + 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) @@ -85,7 +85,7 @@ install_base() { arch | manjaro | parch) pacman -Syu >/dev/null 2>&1 && pacman -Syu --noconfirm wget curl tar tzdata >/dev/null 2>&1 ;; - opensuse-tumbleweed) + opensuse-tumbleweed | opensuse-leap) zypper refresh >/dev/null 2>&1 && zypper -q install -y wget curl tar timezone >/dev/null 2>&1 ;; alpine) -- cgit v1.2.3