Update README and added support for AlmaLinux. (#1435)

* Update install.sh

* Update x-ui.sh

* Update install.sh

* Update README.md

* Update install.sh
This commit is contained in:
quydang
2023-12-23 15:56:56 +07:00
committed by GitHub
parent 0d2bdde149
commit 6a41e19f7a
3 changed files with 14 additions and 3 deletions

View File

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