needs to install one even if "not-selected"

This commit is contained in:
Patrick McGuire
2022-05-31 09:04:49 -04:00
committed by GitHub
parent d64e57373a
commit 5e8eeea020
+1
View File
@@ -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