diff --git a/webtop_kde/rootfs/etc/cont-init.d/00-data_location.sh b/webtop_kde/rootfs/etc/cont-init.d/00-data_location.sh index 12b8016b5..1597218c0 100755 --- a/webtop_kde/rootfs/etc/cont-init.d/00-data_location.sh +++ b/webtop_kde/rootfs/etc/cont-init.d/00-data_location.sh @@ -34,7 +34,7 @@ fi bashio::log.info "Setting data location to $LOCATION" # Correct home locations -for files in /etc/s6-overlay/s6-rc.d/*/run; do +for file in /etc/s6-overlay/s6-rc.d/*/run; do if [ "$(sed -n '1{/bash/p};q' "$file")" ]; then sed -i "1a export HOME=$LOCATION" "$file" sed -i "1a export FM_HOME=$LOCATION" "$file"