diff --git a/README.md b/README.md index cf001e2..f12356e 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,7 @@ Supported Linux distributions and versions: - Debian 12 - Debian 11 - Debian 10 +- Ubuntu 24.04 - Ubuntu 22.04 - Ubuntu 20.04 diff --git a/xo-install.sh b/xo-install.sh index 0e09d48..82fd439 100755 --- a/xo-install.sh +++ b/xo-install.sh @@ -1310,8 +1310,8 @@ function CheckOS { exit 1 fi - if [[ "$OSNAME" == "Ubuntu" ]] && [[ ! "$OSVERSION" =~ ^(20|22)$ ]]; then - printfail "Only Ubuntu 20/22 supported" + if [[ "$OSNAME" == "Ubuntu" ]] && [[ ! "$OSVERSION" =~ ^(20|22|24)$ ]]; then + printfail "Only Ubuntu 20/22/24 supported" exit 1 fi