Update 00-folders.sh

This commit is contained in:
Alexandre authored and GitHub committed 2022-12-29 09:23:42 +01:00
1 parent f7cf33c3fe
commit 746bb65ff7
1 file changed
+1 -1
@@ -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