mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-30 16:37:40 +01:00
Update 00-folders.sh
This commit is contained in:
@@ -25,7 +25,7 @@ change_folders () {
|
|||||||
# Modify files
|
# Modify files
|
||||||
echo "Adapting files"
|
echo "Adapting files"
|
||||||
# shellcheck disable=SC2013,SC2086
|
# shellcheck disable=SC2013,SC2086
|
||||||
for file in $(grep -sril "$ORIGINALLOCATION" /etc /defaults); do sed -i "s=$ORIGINALLOCATION=$CONFIGLOCATION=g" $file; done
|
for file in $(grep -ril "$ORIGINALLOCATION" /etc /defaults); do sed -i "s=$ORIGINALLOCATION=$CONFIGLOCATION=g" $file; done
|
||||||
|
|
||||||
# Adapt sync.conf
|
# Adapt sync.conf
|
||||||
for FILE in "$ORIGINALLOCATION/sync.conf" "$CONFIGLOCATION/sync.conf" "/defaults/sync.conf"; do
|
for FILE in "$ORIGINALLOCATION/sync.conf" "$CONFIGLOCATION/sync.conf" "/defaults/sync.conf"; do
|
||||||
|
|||||||
Reference in New Issue
Block a user