From 74e2736c084ba7880bc749bf2dd8c5f91ed1c696 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 7 Jul 2026 09:37:26 +0200 Subject: [PATCH] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- claude_desktop/rootfs/etc/cont-init.d/20-folders.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/claude_desktop/rootfs/etc/cont-init.d/20-folders.sh b/claude_desktop/rootfs/etc/cont-init.d/20-folders.sh index 989d953f2f..73a1a6e141 100755 --- a/claude_desktop/rootfs/etc/cont-init.d/20-folders.sh +++ b/claude_desktop/rootfs/etc/cont-init.d/20-folders.sh @@ -29,7 +29,7 @@ fi bashio::log.info "Setting data location to $LOCATION" for file in /etc/s6-overlay/s6-rc.d/*/run; do - if [ "$(sed -n '1{/bash/p};q' "$file")" ]; then + if [ "$(sed -n '1{/bash/p};q' "$file")" ] && ! grep -q '^export XDG_CACHE_HOME=/tmp/cache$' "$file"; then sed -i "1a export HOME=$LOCATION" "$file" sed -i "1a export FM_HOME=$LOCATION" "$file" sed -i "1a export XDG_CACHE_HOME=/tmp/cache" "$file"