mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-29 20:04:05 +02:00
Update 00-folders.sh
This commit is contained in:
@@ -24,6 +24,7 @@ change_folders () {
|
|||||||
|
|
||||||
# Modify files
|
# Modify files
|
||||||
echo "Adapting files"
|
echo "Adapting files"
|
||||||
|
# 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 -sril "$ORIGINALLOCATION" /etc /defaults); do sed -i "s=$ORIGINALLOCATION=$CONFIGLOCATION=g" $file; done
|
||||||
|
|
||||||
# Adapt sync.conf
|
# Adapt sync.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user