mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
Update 01-structure.sh
This commit is contained in:
@@ -54,7 +54,7 @@ chown -R pi:pi /config /etc/birdnet "$BIRDSONGS_FOLDER" /tmp
|
||||
chmod -R 755 /config /etc/birdnet "$BIRDSONGS_FOLDER" /tmp
|
||||
|
||||
# Create default birds.db
|
||||
if [ $(stat -c%s "$HOME/BirdNET-Pi/birds.db") -lt 10240 ]; then
|
||||
if [ "$(stat -c%s "$HOME/BirdNET-Pi/birds.db")" -lt 10240 ]; then
|
||||
rm "$HOME/BirdNET-Pi/birds.db"
|
||||
fi
|
||||
if [ ! -f "$HOME/BirdNET-Pi/birds.db" ]; then
|
||||
|
||||
Reference in New Issue
Block a user