Merge pull request #361 from batinicaz/feature/ubuntu-26-04-support

Add support for ubuntu 26.04
This commit is contained in:
Roni Väyrynen
2026-08-04 18:41:03 +03:00
committed by GitHub
2 changed files with 7 additions and 6 deletions

View File

@@ -47,6 +47,7 @@ Supported Linux distributions and versions:
- Debian 13
- Debian 12
- Debian 11
- Ubuntu 26.04
- Ubuntu 24.04
- Ubuntu 22.04

View File

@@ -315,13 +315,13 @@ function InstallDependenciesDeb {
printok "Debian 11/12/13, so installing gnupg also"
fi
# Debian 13 doesn't come with libfuse2 anymore
# Debian 13 / Ubuntu 26.04 don't come with libfuse2 anymore
# it needs to be installed specifically as XO relies on it for now
if [[ "$OSNAME" == "Debian" ]] && [[ "$OSVERSION" == 13 ]]; then
if { [[ "$OSNAME" == "Debian" ]] && [[ "$OSVERSION" == 13 ]]; } || { [[ "$OSNAME" == "Ubuntu" ]] && [[ "$OSVERSION" == 26 ]]; }; then
echo
printprog "Debian 13, so installing libfuse2t64"
printprog "Installing libfuse2t64"
runcmd "apt-get install libfuse2t64 -y"
printok "Debian 13, so installing libfuse2t64"
printok "Installing libfuse2t64"
fi
# install setcap for non-root port binding if missing
@@ -1350,8 +1350,8 @@ function CheckOS {
exit 1
fi
if [[ "$OSNAME" == "Ubuntu" ]] && [[ ! "$OSVERSION" =~ ^(22|24)$ ]]; then
printfail "Only Ubuntu 22/24 supported"
if [[ "$OSNAME" == "Ubuntu" ]] && [[ ! "$OSVERSION" =~ ^(22|24|26)$ ]]; then
printfail "Only Ubuntu 22/24/26 supported"
exit 1
fi