From c9a04de2d40252c2eef736711a5790d01a2cfff4 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 17 Dec 2022 03:02:37 +0100 Subject: [PATCH] Update 00-data_location.sh --- jellyfin/rootfs/etc/cont-init.d/00-data_location.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jellyfin/rootfs/etc/cont-init.d/00-data_location.sh b/jellyfin/rootfs/etc/cont-init.d/00-data_location.sh index 368c80ce9..f2303ac81 100644 --- a/jellyfin/rootfs/etc/cont-init.d/00-data_location.sh +++ b/jellyfin/rootfs/etc/cont-init.d/00-data_location.sh @@ -17,5 +17,7 @@ for file in $(grep -sril "/usr/share/jellyfin/web" /etc /defaults); do sed -i "s echo "Creating $LOCATION" mkdir -p "$LOCATION" "$LOCATION"/data "$LOCATION"/cache "$LOCATION"/log "$LOCATION"/web +cp -rn /usr/share/jellyfin/web/* "$LOCATION"/web/ || true + bashio::log.info "Setting ownership to $PUID:$PGID" -chown "$PUID":"$PGID" "$LOCATION" +chown -R "$PUID":"$PGID" "$LOCATION"