Skip to content

A live bird collage card for your Home Assistant dashboard.

typo

mcguirepr89dc0a9feb42ec
diff --git a/scripts/birdnet_analysis.sh b/scripts/birdnet_analysis.sh
index cc8e053c..12c1096e 100755
--- a/scripts/birdnet_analysis.sh
+++ b/scripts/birdnet_analysis.sh
@@ -29,7 +29,7 @@ fi
INCLUDE_LIST="/home/pi/BirdNET-Pi/include_species_list.txt"
EXCLUDE_LIST="/home/pi/BirdNET-Pi/exclude_species_list.txt"
-if [ !-f ${INCLUDE_LIST} ];then
+if [ ! -f ${INCLUDE_LIST} ];then
touch ${INCLUDE_LIST} &&
chmod g+rw ${INCLUDE_LIST}
fi