From 5e8eeea0202f3c302b9f1971de16986bd1cf0d5a Mon Sep 17 00:00:00 2001 From: Patrick McGuire <60325264+mcguirepr89@users.noreply.github.com> Date: Tue, 31 May 2022 09:04:49 -0400 Subject: [PATCH] needs to install one even if "not-selected" --- scripts/update_birdnet_snippets.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/update_birdnet_snippets.sh b/scripts/update_birdnet_snippets.sh index ef2025d..1af579f 100755 --- a/scripts/update_birdnet_snippets.sh +++ b/scripts/update_birdnet_snippets.sh @@ -76,6 +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 $my_dir/install_language_label.sh -l $DATABASE_LANG \ && logger "[$0] Installed new language label file for '$DATABASE_LANG'"; fi