From 9e6be6cfaa5e2bda41a584cbcc5d5535d85fb1f2 Mon Sep 17 00:00:00 2001 From: mcguirepr89 Date: Mon, 9 May 2022 16:13:43 -0400 Subject: [PATCH] this fixes the "TinyFileManager" "bug" (not a bug!!!) --- scripts/update_species.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/update_species.sh b/scripts/update_species.sh index 3989e73..954dd17 100755 --- a/scripts/update_species.sh +++ b/scripts/update_species.sh @@ -2,4 +2,6 @@ # Update the species list #set -x source /etc/birdnet/birdnet.conf +if [ -f $HOME/BirdNET-Pi/scripts/birds.db ];then sqlite3 $HOME/BirdNET-Pi/scripts/birds.db "SELECT DISTINCT(Com_Name) FROM detections" | sort > ${IDFILE} +fi