mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-12-17 04:34:40 +03:00
OS: Debian 12+
This commit is contained in:
@@ -245,7 +245,7 @@ location /sub {
|
||||
## SO Recomendados
|
||||
|
||||
- Ubuntu 22.04+
|
||||
- Debian 11+
|
||||
- Debian 12+
|
||||
- CentOS 8+
|
||||
- OpenEuler 22.03+
|
||||
- Fedora 36+
|
||||
|
||||
@@ -246,7 +246,7 @@ location /sub {
|
||||
## سیستمعاملهای توصیه شده
|
||||
|
||||
- Ubuntu 22.04+
|
||||
- Debian 11+
|
||||
- Debian 12+
|
||||
- CentOS 8+
|
||||
- OpenEuler 22.03+
|
||||
- Fedora 36+
|
||||
|
||||
@@ -250,7 +250,7 @@ location /sub {
|
||||
## Recommended OS
|
||||
|
||||
- Ubuntu 22.04+
|
||||
- Debian 11+
|
||||
- Debian 12+
|
||||
- CentOS 8+
|
||||
- OpenEuler 22.03+
|
||||
- Fedora 36+
|
||||
|
||||
@@ -249,7 +249,7 @@ location /sub {
|
||||
## Рекомендуемые ОС
|
||||
|
||||
- Ubuntu 22.04+
|
||||
- Debian 11+
|
||||
- Debian 12+
|
||||
- CentOS 8+
|
||||
- OpenEuler 22.03+
|
||||
- Fedora 36+
|
||||
|
||||
@@ -246,7 +246,7 @@ location /sub {
|
||||
## 建议使用的操作系统
|
||||
|
||||
- Ubuntu 22.04+
|
||||
- Debian 11+
|
||||
- Debian 12+
|
||||
- CentOS 8+
|
||||
- OpenEuler 22.03+
|
||||
- Fedora 36+
|
||||
|
||||
@@ -75,8 +75,8 @@ elif [[ "${release}" == "amzn" ]]; then
|
||||
echo -e "${red} Please use Amazon Linux 2023!${plain}\n" && exit 1
|
||||
fi
|
||||
elif [[ "${release}" == "debian" ]]; then
|
||||
if [[ ${os_version} -lt 11 ]]; then
|
||||
echo -e "${red} Please use Debian 11 or higher ${plain}\n" && exit 1
|
||||
if [[ ${os_version} -lt 12 ]]; then
|
||||
echo -e "${red} Please use Debian 12 or higher ${plain}\n" && exit 1
|
||||
fi
|
||||
elif [[ "${release}" == "almalinux" ]]; then
|
||||
if [[ ${os_version} -lt 80 ]]; then
|
||||
@@ -98,7 +98,7 @@ else
|
||||
echo -e "${red}Your operating system is not supported by this script.${plain}\n"
|
||||
echo "Please ensure you are using one of the following supported operating systems:"
|
||||
echo "- Ubuntu 22.04+"
|
||||
echo "- Debian 11+"
|
||||
echo "- Debian 12+"
|
||||
echo "- CentOS 8+"
|
||||
echo "- OpenEuler 22.03+"
|
||||
echo "- Fedora 36+"
|
||||
|
||||
6
x-ui.sh
6
x-ui.sh
@@ -72,8 +72,8 @@ elif [[ "${release}" == "amzn" ]]; then
|
||||
echo -e "${red} Please use Amazon Linux 2023!${plain}\n" && exit 1
|
||||
fi
|
||||
elif [[ "${release}" == "debian" ]]; then
|
||||
if [[ ${os_version} -lt 11 ]]; then
|
||||
echo -e "${red} Please use Debian 11 or higher ${plain}\n" && exit 1
|
||||
if [[ ${os_version} -lt 12 ]]; then
|
||||
echo -e "${red} Please use Debian 12 or higher ${plain}\n" && exit 1
|
||||
fi
|
||||
elif [[ "${release}" == "almalinux" ]]; then
|
||||
if [[ ${os_version} -lt 80 ]]; then
|
||||
@@ -95,7 +95,7 @@ else
|
||||
echo -e "${red}Your operating system is not supported by this script.${plain}\n"
|
||||
echo "Please ensure you are using one of the following supported operating systems:"
|
||||
echo "- Ubuntu 22.04+"
|
||||
echo "- Debian 11+"
|
||||
echo "- Debian 12+"
|
||||
echo "- CentOS 8+"
|
||||
echo "- OpenEuler 22.03+"
|
||||
echo "- Fedora 36+"
|
||||
|
||||
Reference in New Issue
Block a user