mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-27 19:04:05 +02:00
Update 00-folders.sh
This commit is contained in:
@@ -76,7 +76,7 @@ if [[ ! -e "$(bashio::config 'config_location')"/sync.conf ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Add /backup and /media to dir_whitelist if missing
|
# 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
|
if [ -f "$SYNC_CONF" ]; then
|
||||||
TMP_FILE=$(mktemp)
|
TMP_FILE=$(mktemp)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user