I think this is right?
This commit is contained in:
ehpersonal38
2022-05-24 18:47:53 -04:00
parent 82d328d92d
commit cec198af65
+6
View File
@@ -66,3 +66,9 @@ if systemctl list-unit-files pushed_notifications.service;then
sudo rm -f /usr/lib/systemd/system/pushed_notifications.service
sudo rm $HOME/BirdNET-Pi/templates/pushed_notifications.service
fi
if [ ! -f $HOME/BirdNET-Pi/model/labels.txt ]
then
unzip $HOME/BirdNET-Pi/model/labels_l18n.zip labels_en.txt \
-d $HOME/BirdNET-Pi/model
mv $HOME/BirdNET-Pi/model/labels_en.txt $HOME/BirdNET-Pi/model/labels.txt
fi