From c5938e5d7f23a1cacafd97a7639ec58a2d58db62 Mon Sep 17 00:00:00 2001 From: coldclimate Date: Sun, 9 Apr 2023 14:10:35 +0100 Subject: [PATCH] Kick out super early if it's not a suitable system Untested, but raised after a frustrating morning :D --- newinstaller.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/newinstaller.sh b/newinstaller.sh index 4dab014..ddb6462 100755 --- a/newinstaller.sh +++ b/newinstaller.sh @@ -5,6 +5,15 @@ if [ "$EUID" == 0 ] exit fi +if [ "$(uname -m)" != "aarch64" ];then + echo "BirdNET-Pi requires a 64-bit OS. +It looks like your operating system is using $(uname -m), +but would need to be aarch64. +Please take a look at https://birdnetwiki.pmcgui.xyz for more +information" + exit 1 +fi + # Simple new installer HOME=$HOME USER=$USER