Bladeren bron

OS: Debian 12+

mhsanaei 2 weken geleden
bovenliggende
commit
29033a7828
7 gewijzigde bestanden met toevoegingen van 11 en 11 verwijderingen
  1. 1 1
      README.es_ES.md
  2. 1 1
      README.fa_IR.md
  3. 1 1
      README.md
  4. 1 1
      README.ru_RU.md
  5. 1 1
      README.zh_CN.md
  6. 3 3
      install.sh
  7. 3 3
      x-ui.sh

+ 1 - 1
README.es_ES.md

@@ -245,7 +245,7 @@ location /sub {
 ## SO Recomendados
 
 - Ubuntu 22.04+
-- Debian 11+
+- Debian 12+
 - CentOS 8+
 - OpenEuler 22.03+
 - Fedora 36+

+ 1 - 1
README.fa_IR.md

@@ -246,7 +246,7 @@ location /sub {
 ## سیستم‌عامل‌های توصیه شده
 
 - Ubuntu 22.04+
-- Debian 11+
+- Debian 12+
 - CentOS 8+
 - OpenEuler 22.03+
 - Fedora 36+

+ 1 - 1
README.md

@@ -250,7 +250,7 @@ location /sub {
 ## Recommended OS
 
 - Ubuntu 22.04+
-- Debian 11+
+- Debian 12+
 - CentOS 8+
 - OpenEuler 22.03+
 - Fedora 36+

+ 1 - 1
README.ru_RU.md

@@ -249,7 +249,7 @@ location /sub {
 ## Рекомендуемые ОС
 
 - Ubuntu 22.04+
-- Debian 11+
+- Debian 12+
 - CentOS 8+
 - OpenEuler 22.03+
 - Fedora 36+

+ 1 - 1
README.zh_CN.md

@@ -246,7 +246,7 @@ location /sub {
 ## 建议使用的操作系统
 
 - Ubuntu 22.04+
-- Debian 11+
+- Debian 12+
 - CentOS 8+
 - OpenEuler 22.03+
 - Fedora 36+

+ 3 - 3
install.sh

@@ -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+"

+ 3 - 3
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+"