From e12b34a9960b590f0cda15f1dd001d37392cbbb6 Mon Sep 17 00:00:00 2001 From: Andrew Reid Date: Tue, 20 Jun 2023 19:52:14 +0930 Subject: [PATCH 1/2] Support Debian 12 "bookworm" --- xo-install.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/xo-install.sh b/xo-install.sh index 921259c..52fe44b 100755 --- a/xo-install.sh +++ b/xo-install.sh @@ -300,11 +300,11 @@ 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)$ ]]; then + if [[ "$OSNAME" == "Debian" ]] && [[ "$OSVERSION" =~ ^(10|11|12)$ ]]; then echo - printprog "Debian 10/11, so installing gnupg also" + printprog "Debian 10/11/12, so installing gnupg also" runcmd "apt-get install gnupg -y" - printok "Debian 10/11, so installing gnupg also" + printok "Debian 10/11/12, so installing gnupg also" fi # install setcap for non-root port binding if missing @@ -1293,8 +1293,8 @@ function CheckOS { exit 1 fi - if [[ "$OSNAME" == "Debian" ]] && [[ ! "$OSVERSION" =~ ^(10|11)$ ]]; then - printfail "Only Debian 10/11 supported" + if [[ "$OSNAME" == "Debian" ]] && [[ ! "$OSVERSION" =~ ^(10|11|12)$ ]]; then + printfail "Only Debian 10/11/12 supported" exit 1 fi From 9a60fbb6c4550e93012d7737f1dc20b9374aa3cf Mon Sep 17 00:00:00 2001 From: Andrew Reid Date: Mon, 26 Jun 2023 14:44:33 +0930 Subject: [PATCH 2/2] Support Debian 12 "bookworm" --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 7eaa4b9..2ca9261 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,7 @@ Supported Linux distributions and versions: - AlmaLinux 8 - Rocky Linux 9 - Rocky Linux 8 +- Debian 12 - Debian 11 - Debian 10 - Ubuntu 22.04