Update 00-folders.sh

This commit is contained in:
Alexandre
2025-06-24 17:50:58 +02:00
committed by GitHub
parent 1740fa67a3
commit 2c1cae8831

View File

@@ -76,7 +76,7 @@ if [[ ! -e "$(bashio::config 'config_location')"/sync.conf ]]; then
fi
# Add /backup and /media to dir_whitelist if missing
for SYNC_CONF in "$ORIGINALLOCATION/sync.conf" "$CONFIGLOCATION/sync.conf" "/defaults/sync.conf"; do
for SYNC_CONF in "$(bashio::config 'config_location')/sync.conf" "/defaults/sync.conf"; do
if [ -f "$SYNC_CONF" ]; then
TMP_FILE=$(mktemp)