diff --git a/birdnet-pi/rootfs/etc/cont-init.d/71-newfeatures.sh b/birdnet-pi/rootfs/etc/cont-init.d/71-newfeatures.sh index 309cfd615..aef326aca 100755 --- a/birdnet-pi/rootfs/etc/cont-init.d/71-newfeatures.sh +++ b/birdnet-pi/rootfs/etc/cont-init.d/71-newfeatures.sh @@ -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