Skip to content

A live bird collage card for your Home Assistant dashboard.

Bullseye is deprecated

frederik1271ea0e2d7f
diff --git a/newinstaller.sh b/newinstaller.sh
index fb0cac89..c2c46c1e 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