From d85cc3ec38a20ff545a6fdd928101860f4d0a4b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roni=20V=C3=A4yrynen?= Date: Wed, 13 Aug 2025 15:14:38 +0300 Subject: [PATCH] feat: add support for Debian 13 --- README.md | 3 ++- xo-install.sh | 19 ++++++++++++++----- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 3ea7d97..0375948 100644 --- a/README.md +++ b/README.md @@ -147,12 +147,13 @@ deb: - lvm2 - nfs-common - cifs-utils -- gnupg (debian 10/11) +- gnupg (debian 10/11/12/13) - software-properties-common (ubuntu) - ntfs-3g - dmidecode - sudo (if set in xo-install.cfg) - patch +- libfuse2t64 (debian 13) ``` Following repositories will be installed if needed and repository install is enabled in xo-install.cfg diff --git a/xo-install.sh b/xo-install.sh index 8c92eca..cf53096 100755 --- a/xo-install.sh +++ b/xo-install.sh @@ -309,11 +309,20 @@ function InstallDependenciesDeb { runcmd "apt-get install -y apt-transport-https ca-certificates" printok "Installing apt-transport-https and ca-certificates packages to support https repos" - if [[ "$OSNAME" == "Debian" ]] && [[ "$OSVERSION" =~ ^(10|11|12)$ ]]; then + if [[ "$OSNAME" == "Debian" ]] && [[ "$OSVERSION" =~ ^(10|11|12|13)$ ]]; then echo - printprog "Debian 10/11/12, so installing gnupg also" + printprog "Debian 10/11/12/13, so installing gnupg also" runcmd "apt-get install gnupg -y" - printok "Debian 10/11/12, so installing gnupg also" + printok "Debian 10/11/12/13, so installing gnupg also" + fi + + # Debian 13 doesn't come with libfuse2 anymore + # it needs to be installed specifically as XO relies on it for now + if [[ "$OSNAME" == "Debian" ]] && [[ "$OSVERSION" == 13 ]]; then + echo + printprog "Debian 13, so installing libfuse2t64" + runcmd "apt-get install libfuse2t64 -y" + printok "Debian 13, so installing libfuse2t64" fi # install setcap for non-root port binding if missing @@ -1334,8 +1343,8 @@ function CheckOS { exit 1 fi - if [[ "$OSNAME" == "Debian" ]] && [[ ! "$OSVERSION" =~ ^(10|11|12)$ ]]; then - printfail "Only Debian 10/11/12 supported" + if [[ "$OSNAME" == "Debian" ]] && [[ ! "$OSVERSION" =~ ^(10|11|12|13)$ ]]; then + printfail "Only Debian 10/11/12/13 supported" exit 1 fi