A live bird collage card for your Home Assistant dashboard.
fix: make sure we look for the correct gotty executable name
frederikee9aeb6d62a9
diff --git a/scripts/install_services.sh b/scripts/install_services.shindex 9fe1d4e6..e2e000bc 100755--- a/scripts/install_services.sh+++ b/scripts/install_services.sh@@ -341,6 +341,8 @@ EOFinstall_phpsysinfo() {sudo -u ${USER} git clone https://github.com/phpsysinfo/phpsysinfo.git \${HOME}/phpsysinfo+ gottyservice="gotty-$(uname -m)"+ sed -i "s/,gotty,/,${gottyservice},/g" "$HOME"/BirdNET-Pi/templates/phpsysinfo.ini}config_icecast() {diff --git a/scripts/update_birdnet_snippets.sh b/scripts/update_birdnet_snippets.shindex 5157a952..13b5243c 100755--- a/scripts/update_birdnet_snippets.sh+++ b/scripts/update_birdnet_snippets.sh@@ -160,6 +160,11 @@ if ! [ -L /etc/avahi/services/http.service ];thensystemctl restart avahi-daemon.servicefi+if grep -q ",gotty," "$HOME/BirdNET-Pi/templates/phpsysinfo.ini" &>/dev/null; then+ gottyservice="gotty-$(uname -m)"+ sed -i "s/,gotty,/,${gottyservice},/g" "$HOME/BirdNET-Pi/templates/phpsysinfo.ini"+fi+if [ -L /usr/local/bin/analyze.py ];thenrm -f /usr/local/bin/analyze.pyfi