A live bird collage card for your Home Assistant dashboard.
typo
mcguirepr890907ca55a184
diff --git a/scripts/birdnet_analysis.sh b/scripts/birdnet_analysis.shindex ebb14fc0..cc8e053c 100755--- a/scripts/birdnet_analysis.sh+++ b/scripts/birdnet_analysis.sh@@ -29,13 +29,13 @@ fiINCLUDE_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} ];thentouch ${INCLUDE_LIST} &&- sudo chmod g+rw ${INCLUDE_LIST}+ chmod g+rw ${INCLUDE_LIST}fi-if [ -f ${EXCLUDE_LIST} ];then+if [ ! -f ${EXCLUDE_LIST} ];thentouch ${EXCLUDE_LIST} &&- sudo chmod g+rw ${EXCLUDE_LIST}+ chmod g+rw ${EXCLUDE_LIST}fiif [ "$(du ${INCLUDE_LIST} | awk '{print $1}')" -lt 4 ];thenINCLUDE_LIST=null