Skip to content

Commit

Permalink
OS Support - AlmaLinux 8.0 +
Browse files Browse the repository at this point in the history
  • Loading branch information
MHSanaei committed Sep 25, 2024
1 parent 4bea427 commit 19b9582
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.es_ES.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ location /sub {
- Parch Linux
- Manjaro
- Armbian
- AlmaLinux 8+
- AlmaLinux 8.0+
- Rocky Linux 8+
- Oracle Linux 8+
- OpenSUSE Tubleweed
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ location /sub {
- Parch Linux
- Manjaro
- Armbian
- AlmaLinux 8+
- AlmaLinux 8.0+
- Rocky Linux 8+
- Oracle Linux 8+
- OpenSUSE Tubleweed
Expand Down
2 changes: 1 addition & 1 deletion README.ru_RU.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ location /sub {
- Parch Linux
- Manjaro
- Armbian
- AlmaLinux 8+
- AlmaLinux 8.0+
- Rocky Linux 8+
- Oracle Linux 8+
- OpenSUSE Tubleweed
Expand Down
2 changes: 1 addition & 1 deletion README.zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ location /sub {
- Parch Linux
- Manjaro
- Armbian
- AlmaLinux 8+
- AlmaLinux 8.0+
- Rocky Linux 8+
- Oracle Linux 8+
- OpenSUSE Tubleweed
Expand Down
6 changes: 3 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ elif [[ "${release}" == "debian" ]]; then
echo -e "${red} Please use Debian 11 or higher ${plain}\n" && exit 1
fi
elif [[ "${release}" == "almalinux" ]]; then
if [[ ${os_version} -lt 8 ]]; then
echo -e "${red} Please use AlmaLinux 8 or higher ${plain}\n" && exit 1
if [[ ${os_version} -lt 80 ]]; then
echo -e "${red} Please use AlmaLinux 8.0 or higher ${plain}\n" && exit 1
fi
elif [[ "${release}" == "rocky" ]]; then
if [[ ${os_version} -lt 8 ]]; then
Expand All @@ -94,7 +94,7 @@ else
echo "- Parch Linux"
echo "- Manjaro"
echo "- Armbian"
echo "- AlmaLinux 8+"
echo "- AlmaLinux 8.0+"
echo "- Rocky Linux 8+"
echo "- Oracle Linux 8+"
echo "- OpenSUSE Tumbleweed"
Expand Down
6 changes: 3 additions & 3 deletions x-ui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ elif [[ "${release}" == "debian" ]]; then
echo -e "${red} Please use Debian 11 or higher ${plain}\n" && exit 1
fi
elif [[ "${release}" == "almalinux" ]]; then
if [[ ${os_version} -lt 8 ]]; then
echo -e "${red} Please use AlmaLinux 8 or higher ${plain}\n" && exit 1
if [[ ${os_version} -lt 80 ]]; then
echo -e "${red} Please use AlmaLinux 8.0 or higher ${plain}\n" && exit 1
fi
elif [[ "${release}" == "rocky" ]]; then
if [[ ${os_version} -lt 8 ]]; then
Expand All @@ -91,7 +91,7 @@ else
echo "- Parch Linux"
echo "- Manjaro"
echo "- Armbian"
echo "- AlmaLinux 8+"
echo "- AlmaLinux 8.0+"
echo "- Rocky Linux 8+"
echo "- Oracle Linux 8+"
echo "- OpenSUSE Tumbleweed"
Expand Down

0 comments on commit 19b9582

Please sign in to comment.