mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 04:44:05 +02:00
Update 71-newfeatures.sh
This commit is contained in:
@@ -80,6 +80,7 @@ if bashio::config.true "SPECIES_CONVERTER"; then
|
|||||||
fi
|
fi
|
||||||
done < "$HOME"/BirdNET-Pi/homepage/views.php
|
done < "$HOME"/BirdNET-Pi/homepage/views.php
|
||||||
# Remove the extracted lines from the original file
|
# Remove the extracted lines from the original file
|
||||||
|
# shellcheck disable=SC2016
|
||||||
sed -i '/if(\$_GET\['\''view'\''\] == "File"){/,$d' "$HOME"/BirdNET-Pi/homepage/views.php
|
sed -i '/if(\$_GET\['\''view'\''\] == "File"){/,$d' "$HOME"/BirdNET-Pi/homepage/views.php
|
||||||
# Add new text
|
# Add new text
|
||||||
cat "/helpers/views.add" >> "$HOME"/BirdNET-Pi/homepage/views.php
|
cat "/helpers/views.add" >> "$HOME"/BirdNET-Pi/homepage/views.php
|
||||||
|
|||||||
Reference in New Issue
Block a user