From 746bb65ff7645cd1409f3e8dbdb3670855a17be4 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 29 Dec 2022 09:23:42 +0100 Subject: [PATCH] Update 00-folders.sh --- resiliosync/rootfs/etc/cont-init.d/00-folders.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resiliosync/rootfs/etc/cont-init.d/00-folders.sh b/resiliosync/rootfs/etc/cont-init.d/00-folders.sh index 6cc16aee8..0f6228020 100755 --- a/resiliosync/rootfs/etc/cont-init.d/00-folders.sh +++ b/resiliosync/rootfs/etc/cont-init.d/00-folders.sh @@ -25,7 +25,7 @@ change_folders () { # Modify 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 -ril "$ORIGINALLOCATION" /etc /defaults); do sed -i "s=$ORIGINALLOCATION=$CONFIGLOCATION=g" $file; done # Adapt sync.conf for FILE in "$ORIGINALLOCATION/sync.conf" "$CONFIGLOCATION/sync.conf" "/defaults/sync.conf"; do