mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-24 21:46:29 +01:00
Update 02-restorestreamdata.sh
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# shellcheck shell=bash
|
||||
|
||||
# Check if there are files in "$HOME"/BirdSongs/StreamData and move them to /data/StreamData
|
||||
if [ -d /data/StreamData ] && [ "$(ls -A "$HOME"/BirdSongs/StreamData)" ]; then
|
||||
if [ -d /data/StreamData ] && [ "$(ls -A /data/StreamData/)" ]; then
|
||||
|
||||
bashio::log.warning "Container was stopped while files were still being analysed, restoring them"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user