From 8ee811e82d6c6c73a393ba87df86f315b0274657 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 13 Feb 2022 22:45:00 +0100 Subject: [PATCH] Update 00-data_location.sh --- webtop_kde/rootfs/etc/cont-init.d/00-data_location.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 54783f194..a6e1c6260 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 @@ -22,11 +22,10 @@ sed -i "s|/share/webtop_kde|$LOCATION|g" /etc/cont-init.d/* sed -i "s|/share/webtop_kde|$LOCATION|g" /etc/services.d/*/run usermod --home "$LOCATION" abc -# Set ownership -bashio::log.info "Setting ownership to $PUID:$PGID" -chown "$PUID":"$PGID" "$LOCATION" - # Create folder echo "Creating $LOCATION" mkdir -p "$LOCATION" +# Set ownership +bashio::log.info "Setting ownership to $PUID:$PGID" +chown "$PUID":"$PGID" "$LOCATION"