From 1271ea0e2d7f4a4aecf3671e1c05f1da057d4064 Mon Sep 17 00:00:00 2001 From: frederik Date: Fri, 14 Mar 2025 12:20:21 +0100 Subject: [PATCH] Bullseye is deprecated --- newinstaller.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/newinstaller.sh b/newinstaller.sh index fb0cac8..c2c46c1 100755 --- a/newinstaller.sh +++ b/newinstaller.sh @@ -12,6 +12,12 @@ but would need to be aarch64." exit 1 fi +PY_VERSION=$(python3 -c "import sys; print(f'{sys.version_info[0]}{sys.version_info[1]}')") +if [ "${PY_VERSION}" == "39" ] ;then + echo "### BirdNET-Pi requires a newer OS. Bullseye is deprecated, please use Bookworm. ###" + [ -z "${FORCE_BULLSEYE}" ] && exit +fi + # we require passwordless sudo sudo -K if ! sudo -n true; then