Skip to content

Commit

Permalink
Merge pull request #233 from ronivay/feat/ubuntu-24-support
Browse files Browse the repository at this point in the history
feat: add Ubuntu 24.04 support
  • Loading branch information
ronivay authored May 3, 2024
2 parents 4943ecd + e9392f3 commit 9fab529
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ Supported Linux distributions and versions:
- Debian 12
- Debian 11
- Debian 10
- Ubuntu 24.04
- Ubuntu 22.04
- Ubuntu 20.04

Expand Down
4 changes: 2 additions & 2 deletions xo-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 9fab529

Please sign in to comment.