Update 71-newfeatures.sh

This commit is contained in:
Alexandre
2024-05-22 09:55:18 +02:00
committed by GitHub
parent 03e9ad4432
commit 9944047000

View File

@@ -80,6 +80,7 @@ if bashio::config.true "SPECIES_CONVERTER"; then
fi
done < "$HOME"/BirdNET-Pi/homepage/views.php
# Remove the extracted lines from the original file
# shellcheck disable=SC2016
sed -i '/if(\$_GET\['\''view'\''\] == "File"){/,$d' "$HOME"/BirdNET-Pi/homepage/views.php
# Add new text
cat "/helpers/views.add" >> "$HOME"/BirdNET-Pi/homepage/views.php