From 76a2c2304623d0ddaffe5d873ce466610838f43a Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 4 Nov 2022 14:10:55 +0100 Subject: [PATCH] Update Dockerfile --- jellyfin/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jellyfin/Dockerfile b/jellyfin/Dockerfile index 3e88c95af..1483bbfca 100644 --- a/jellyfin/Dockerfile +++ b/jellyfin/Dockerfile @@ -48,7 +48,7 @@ RUN \ && for file in /etc/services.d/*/* /etc/cont-init.d/* /etc/s6-overlay/s6-rc.d/*/*;do if [ -f $files ] && [[ ! -z $(awk '/chown.*abc:abc.*\\/,/.*\/config( |$)/{print FILENAME}' $file) ]] ; then sed -i "s|/config$|/data|g" $file; fi ;done \ \ # Docker mods addition - && for file in $(grep -srl 'DOCKER_MODS=(${DOCKER_MODS})' /); do sed -i 's/bash/bashio/g' $file && sed -i 's|DOCKER_MODS=(${DOCKER_MODS})|DOCKER_MODS=$(bashio::config "DOCKER_MODS")|g' $file; done + && if [ -f /docker-mods ]; then sed -i '1a if bashio::config.has_value "DOCKER_MODS"; then DOCKER_MODS=$(bashio::config "DOCKER_MODS"); fi' /docker-mods; fi; done ################## # 3 Install apps #