Skip to content

A live bird collage card for your Home Assistant dashboard.

typo fixes database language update bug

Patrick McGuirebc014ca33f29
diff --git a/scripts/update_birdnet_snippets.sh b/scripts/update_birdnet_snippets.sh
index 5589311d..db5ef016 100755
--- a/scripts/update_birdnet_snippets.sh
+++ b/scripts/update_birdnet_snippets.sh
@@ -76,7 +76,7 @@ if systemctl list-unit-files pushed_notifications.service &>/dev/null;then
fi
if [ ! -f $HOME/BirdNET-Pi/model/labels.txt ];then
- [ $DATABASE_LANG == 'not-selected' ] && $DATABASE_LANG=en
+ [ $DATABASE_LANG == 'not-selected' ] && DATABASE_LANG=en
$my_dir/install_language_label.sh -l $DATABASE_LANG \
&& logger "[$0] Installed new language label file for '$DATABASE_LANG'";
fi