Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJieXu <xujie0739@gmail.com>2025-10-02 00:11:37 +0300
committerGitHub <noreply@github.com>2025-10-02 00:11:37 +0300
commitcafcb250ec54d2c9140bf2f7e3b5aeeff7c5aae3 (patch)
tree79a3fc08335062ca6b50111ec2aff1ecbbdd9d33
parente7cfee570bb7e35ccebdaf2527c4bba30e7eee5a (diff)
Add support for OpenSUSE Leap (#3573)
* Update update.sh * Update install.sh * Update x-ui.sh * Update x-ui.sh
-rw-r--r--install.sh2
-rwxr-xr-xupdate.sh4
-rw-r--r--x-ui.sh6
3 files changed, 9 insertions, 3 deletions
diff --git a/install.sh b/install.sh
index 58d5aa0b..a2a6540b 100644
--- a/install.sh
+++ b/install.sh
@@ -53,7 +53,7 @@ install_base() {
arch | manjaro | parch)
pacman -Syu && pacman -Syu --noconfirm wget curl tar tzdata
;;
- opensuse-tumbleweed)
+ opensuse-tumbleweed | opensuse-leap)
zypper refresh && zypper -q install -y wget curl tar timezone
;;
alpine)
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)
diff --git a/x-ui.sh b/x-ui.sh
index cadc71a1..78bb072a 100644
--- a/x-ui.sh
+++ b/x-ui.sh
@@ -518,6 +518,9 @@ enable_bbr() {
arch | manjaro | parch)
pacman -Sy --noconfirm ca-certificates
;;
+ opensuse-tumbleweed | opensuse-leap)
+ zypper refresh && zypper -q install -y ca-certificates
+ ;;
alpine)
apk add ca-certificates
;;
@@ -1073,6 +1076,9 @@ ssl_cert_issue() {
arch | manjaro | parch)
pacman -Sy --noconfirm socat
;;
+ opensuse-tumbleweed | opensuse-leap)
+ zypper refresh && zypper -q install -y socat
+ ;;
alpine)
apk add socat
;;