From 9944047000373757dbf544e7723c3e5fcdf4e573 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 22 May 2024 09:55:18 +0200 Subject: [PATCH] Update 71-newfeatures.sh --- birdnet-pi/rootfs/etc/cont-init.d/71-newfeatures.sh | 1 + 1 file changed, 1 insertion(+) 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