mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Update 81-modifications.sh
This commit is contained in:
@@ -97,5 +97,5 @@ sed -i -e '/<option disabled selected>/s/selected//' \
|
||||
# Correct language labels according to birdnet.conf
|
||||
echo "... adapting labels according to birdnet.conf"
|
||||
export "$(grep "^DATABASE_LANG" /config/birdnet.conf)" || bashio::log.warning "DATABASE_LANG not found in configuration. Using default labels."
|
||||
bashio::log.info "Setting language to $DATABASE_LANG"
|
||||
bashio::log.info "Setting language to ${DATABASE_LANG:-eng}"
|
||||
"$HOME/BirdNET-Pi/scripts/install_language_label_nm.sh" -l "$DATABASE_LANG" &>/dev/null || bashio::log.warning "Failed to update language labels"
|
||||
|
||||
Reference in New Issue
Block a user