From 6329595cf07868e830d29862548f766b3e673cf2 Mon Sep 17 00:00:00 2001 From: mcguirepr89 Date: Thu, 2 Jun 2022 09:12:51 -0400 Subject: [PATCH] I think this will fix it --- scripts/update_birdnet_snippets.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update_birdnet_snippets.sh b/scripts/update_birdnet_snippets.sh index 1af579f..25e86a4 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