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:
authorquydang <81231812+quydang04@users.noreply.github.com>2023-12-23 11:56:56 +0300
committerGitHub <noreply@github.com>2023-12-23 11:56:56 +0300
commit6a41e19f7ab98b46cbf00a4d9f10395e2113ff1d (patch)
treed692a1d806d861c58f5fa14f87f549b049dedb92 /x-ui.sh
parent0d2bdde149b467e563807b59da0f42b3c0ebc743 (diff)
Update README and added support for AlmaLinux. (#1435)
* Update install.sh * Update x-ui.sh * Update install.sh * Update README.md * Update install.sh
Diffstat (limited to 'x-ui.sh')
-rw-r--r--x-ui.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/x-ui.sh b/x-ui.sh
index 144c377a..749e39dd 100644
--- a/x-ui.sh
+++ b/x-ui.sh
@@ -54,6 +54,10 @@ elif [[ "${release}" == "debian" ]]; then
if [[ ${os_version} -lt 10 ]]; then
echo -e "${red} Please use Debian 10 or higher ${plain}\n" && exit 1
fi
+elif [[ "${release}" == "almalinux" ]]; then
+ if [[ ${os_version} -lt 9 ]]; then
+ echo -e "${red} Please use Almalinux 9 or higher ${plain}\n" && exit 1
+ fi
elif [[ "${release}" == "arch" ]]; then
echo "Your OS is ArchLinux"
elif [[ "${release}" == "manjaro" ]]; then