From 4b97e020c9950b19ccaa2e480d5306e19021c4fb Mon Sep 17 00:00:00 2001 From: jsargent <74645469+jsargent8789@users.noreply.github.com> Date: Mon, 8 Aug 2022 22:52:43 -0700 Subject: [PATCH] Update xo-install.sh to support rocky linux 9 --- xo-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xo-install.sh b/xo-install.sh index 9ad1d51..93305b1 100755 --- a/xo-install.sh +++ b/xo-install.sh @@ -1267,8 +1267,8 @@ function CheckOS { exit 1 fi - if [[ "$OSNAME" == "Rocky" ]] && [[ "$OSVERSION" != "8" ]]; then - printfail "Only Rocky Linux 8 supported" + if [[ "$OSNAME" == "Rocky" ]] && [[ ! "$OSVERSION" =~ ^(8|9)$ ]]; then + printfail "Only Rocky Linux 8/9 supported" exit 1 fi