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:
authorSanaei <ho3ein.sanaei@gmail.com>2025-03-13 18:06:08 +0300
committerGitHub <noreply@github.com>2025-03-13 18:06:08 +0300
commitcac00224db7b229efac3ee242a5d5790ee0d98cf (patch)
tree515a16ad3b217976b14a28e5576036254b8ccab1 /x-ui.sh
parentb68f0a206c72750aa46be79d2ad02f88b4317f29 (diff)
runs-on: ubuntu-22.04 (#2767)
https://github.com/actions/runner-images/issues/11101
Diffstat (limited to 'x-ui.sh')
-rw-r--r--x-ui.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/x-ui.sh b/x-ui.sh
index 417aa07c..c3ac6e94 100644
--- a/x-ui.sh
+++ b/x-ui.sh
@@ -60,8 +60,8 @@ elif [[ "${release}" == "centos" ]]; then
echo -e "${red} Please use CentOS 8 or higher ${plain}\n" && exit 1
fi
elif [[ "${release}" == "ubuntu" ]]; then
- if [[ ${os_version} -lt 2004 ]]; then
- echo -e "${red} Please use Ubuntu 20 or higher version!${plain}\n" && exit 1
+ if [[ ${os_version} -lt 2204 ]]; then
+ echo -e "${red} Please use Ubuntu 22 or higher version!${plain}\n" && exit 1
fi
elif [[ "${release}" == "fedora" ]]; then
if [[ ${os_version} -lt 36 ]]; then
@@ -94,7 +94,7 @@ elif [[ "${release}" == "virtuozzo" ]]; then
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 20.04+"
+ echo "- Ubuntu 22.04+"
echo "- Debian 11+"
echo "- CentOS 8+"
echo "- OpenEuler 22.03+"