diff --git a/webtop_kde/config.json b/webtop_kde/config.json index 934cbb0d0..a6a3e10a5 100644 --- a/webtop_kde/config.json +++ b/webtop_kde/config.json @@ -112,6 +112,6 @@ "slug": "webtop-kde", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons", - "version": "4.16-r0-ls75-6", + "version": "4.16-r0-ls75-7", "video": true -} +} \ No newline at end of file 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 7222e456e..c31abbd4c 100644 --- 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,10 +34,8 @@ bashio::log.info "Setting data location to $LOCATION" sed -i "1a export HOME=$LOCATION" /etc/s6-overlay/s6-rc.d/svc-web/run || true sed -i "1a export FM_HOME=$LOCATION" /etc/s6-overlay/s6-rc.d/svc-web/run || true -sed -i "s|/share/webtop_kde|$LOCATION|g" /defaults/* || true -sed -i "s|/share/webtop_kde|$LOCATION|g" /etc/s6-overlay/s6-rc.d/*/* || true -sed -i "s|/share/webtop_kde|$LOCATION|g" /etc/s6-overlay/s6-rc.d/*/run || true -sed -i "s|/share/webtop_kde|$LOCATION|g" /etc/cont-init.d/* +sed -i "s|/share/webtop_kde|$LOCATION|g" $(find /defaults -type f) || true +sed -i "s|/share/webtop_kde|$LOCATION|g" $(find /etc -type f) || true usermod --home "$LOCATION" abc # Create folder