From f9967569e779214854e37cd2aa87a122ac9b3e4d Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 7 May 2023 00:12:06 +0000 Subject: [PATCH] Github bot : script beautyshied --- jellyfin/rootfs/etc/cont-init.d/90-data_location.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jellyfin/rootfs/etc/cont-init.d/90-data_location.sh b/jellyfin/rootfs/etc/cont-init.d/90-data_location.sh index 421131e56..94bbd68d4 100755 --- a/jellyfin/rootfs/etc/cont-init.d/90-data_location.sh +++ b/jellyfin/rootfs/etc/cont-init.d/90-data_location.sh @@ -27,8 +27,8 @@ sed -i "s|/usr/share/jellyfin|$LOCATION|g" /etc/nginx/servers/ingress.conf # Custom transcode location mkdir -p /data/transcodes if [ -d "$LOCATION"/data/transcodes ]; then - cp -rT "$LOCATION"/data/transcodes /data/transcodes - rm -r "$LOCATION"/data/transcodes + cp -rT "$LOCATION"/data/transcodes /data/transcodes + rm -r "$LOCATION"/data/transcodes fi ln -s /data/transcodes "$LOCATION"/data/transcodes chown -R "$PUID":"$PGID" /data/transcodes