From 4b63373ccc2cea134f5efc0914ca23bcf410d96d Mon Sep 17 00:00:00 2001 From: Michael Rook Date: Mon, 6 Jun 2022 21:29:39 +1000 Subject: [PATCH] Add almalinux 9 to the checks --- README.md | 1 + xo-install.sh | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 41aca9e..337a7af 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,7 @@ First thing you need is a VM (or even a physical machine if you wish) where to i Supported Linux distributions and versions: - CentOS 8 Stream +- AlmaLinux 9 - AlmaLinux 8 - Rocky Linux 8 - Debian 11 diff --git a/xo-install.sh b/xo-install.sh index 64111f5..1b90620 100755 --- a/xo-install.sh +++ b/xo-install.sh @@ -1266,8 +1266,8 @@ function CheckOS { fi # for future if/when something above 8 is released - if [[ "$OSNAME" == "AlmaLinux" ]] && [[ "$OSVERSION" != "8" ]]; then - printfail "Only AlmaLinux 8 supported" + if [[ "$OSNAME" == "AlmaLinux" ]] && [[ "$OSVERSION" =~ ^(8|9)$ ]]; then + printfail "Only AlmaLinux 8/9 supported" exit 1 fi