From 60256cf89985e3b2c8e62b4aa80faf96ca29ea34 Mon Sep 17 00:00:00 2001 From: quydang <81231812+quydang04@users.noreply.github.com> Date: Sat, 23 Dec 2023 10:21:19 +0700 Subject: [PATCH] Update install.sh --- install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install.sh b/install.sh index 8c470cca..0914454e 100644 --- a/install.sh +++ b/install.sh @@ -54,6 +54,11 @@ 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