diff --git a/bazarr/Dockerfile b/bazarr/Dockerfile index 90d21290b..705bc651a 100644 --- a/bazarr/Dockerfile +++ b/bazarr/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 - && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i '1a if bashio::config.has_value "DOCKER_MODS"; then DOCKER_MODS=$(bashio::config "DOCKER_MODS"); fi' /docker-mods; fi + && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i "1a if bashio::config.has_value \"DOCKER_MODS\"; then DOCKER_MODS=\$(bashio::config \"DOCKER_MODS\"); fi" /docker-mods; fi ################## # 3 Install apps # diff --git a/booksonic_air/Dockerfile b/booksonic_air/Dockerfile index 9f99c3367..aabda55cd 100644 --- a/booksonic_air/Dockerfile +++ b/booksonic_air/Dockerfile @@ -50,7 +50,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 - && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i '1a if bashio::config.has_value "DOCKER_MODS"; then DOCKER_MODS=$(bashio::config "DOCKER_MODS"); fi' /docker-mods; fi + && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i "1a if bashio::config.has_value \"DOCKER_MODS\"; then DOCKER_MODS=\$(bashio::config \"DOCKER_MODS\"); fi" /docker-mods; fi ################## # 3 Install apps # diff --git a/calibre/Dockerfile b/calibre/Dockerfile index a1353afda..87b511d39 100644 --- a/calibre/Dockerfile +++ b/calibre/Dockerfile @@ -49,7 +49,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 - && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i '1a if bashio::config.has_value "DOCKER_MODS"; then DOCKER_MODS=$(bashio::config "DOCKER_MODS"); fi' /docker-mods; fi + && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i "1a if bashio::config.has_value \"DOCKER_MODS\"; then DOCKER_MODS=\$(bashio::config \"DOCKER_MODS\"); fi" /docker-mods; fi # Specific images modifications RUN \ diff --git a/calibre_web/Dockerfile b/calibre_web/Dockerfile index 2c4ff8c85..fbcf6416c 100644 --- a/calibre_web/Dockerfile +++ b/calibre_web/Dockerfile @@ -49,7 +49,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 - && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i '1a if bashio::config.has_value "DOCKER_MODS"; then DOCKER_MODS=$(bashio::config "DOCKER_MODS"); fi' /docker-mods; fi + && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i "1a if bashio::config.has_value \"DOCKER_MODS\"; then DOCKER_MODS=\$(bashio::config \"DOCKER_MODS\"); fi" /docker-mods; fi # Specific images modifications RUN \ diff --git a/code-server/Dockerfile b/code-server/Dockerfile index 3446f7b6e..232361fab 100644 --- a/code-server/Dockerfile +++ b/code-server/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 - && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i '1a if bashio::config.has_value "DOCKER_MODS"; then DOCKER_MODS=$(bashio::config "DOCKER_MODS"); fi' /docker-mods; fi + && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i "1a if bashio::config.has_value \"DOCKER_MODS\"; then DOCKER_MODS=\$(bashio::config \"DOCKER_MODS\"); fi" /docker-mods; fi ################## # 3 Install apps # diff --git a/emby/Dockerfile b/emby/Dockerfile index b32b172b7..3521755d6 100644 --- a/emby/Dockerfile +++ b/emby/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 - && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i '1a if bashio::config.has_value "DOCKER_MODS"; then DOCKER_MODS=$(bashio::config "DOCKER_MODS"); fi' /docker-mods; fi + && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i "1a if bashio::config.has_value \"DOCKER_MODS\"; then DOCKER_MODS=\$(bashio::config \"DOCKER_MODS\"); fi" /docker-mods; fi ################## # 3 Install apps # diff --git a/flexget/Dockerfile b/flexget/Dockerfile index 8e7da6450..033cd1833 100644 --- a/flexget/Dockerfile +++ b/flexget/Dockerfile @@ -57,7 +57,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 - && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i '1a if bashio::config.has_value "DOCKER_MODS"; then DOCKER_MODS=$(bashio::config "DOCKER_MODS"); fi' /docker-mods; fi + && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i "1a if bashio::config.has_value \"DOCKER_MODS\"; then DOCKER_MODS=\$(bashio::config \"DOCKER_MODS\"); fi" /docker-mods; fi ################## # 3 Install apps # diff --git a/grav/Dockerfile b/grav/Dockerfile index dd468ea2a..8f1ed887c 100644 --- a/grav/Dockerfile +++ b/grav/Dockerfile @@ -47,7 +47,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 - && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i '1a if bashio::config.has_value "DOCKER_MODS"; then DOCKER_MODS=$(bashio::config "DOCKER_MODS"); fi' /docker-mods; fi + && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i "1a if bashio::config.has_value \"DOCKER_MODS\"; then DOCKER_MODS=\$(bashio::config \"DOCKER_MODS\"); fi" /docker-mods; fi ################## # 3 Install apps # diff --git a/jackett/Dockerfile b/jackett/Dockerfile index 782db6d8f..39c02cf9f 100644 --- a/jackett/Dockerfile +++ b/jackett/Dockerfile @@ -47,7 +47,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 - && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i '1a if bashio::config.has_value "DOCKER_MODS"; then DOCKER_MODS=$(bashio::config "DOCKER_MODS"); fi' /docker-mods; fi + && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i "1a if bashio::config.has_value \"DOCKER_MODS\"; then DOCKER_MODS=\$(bashio::config \"DOCKER_MODS\"); fi" /docker-mods; fi # Changes config directory ENV XDG_CONFIG_HOME="/config/addons_config" diff --git a/lidarr/Dockerfile b/lidarr/Dockerfile index 1121b9cad..b8be7919e 100644 --- a/lidarr/Dockerfile +++ b/lidarr/Dockerfile @@ -47,7 +47,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 - && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i '1a if bashio::config.has_value "DOCKER_MODS"; then DOCKER_MODS=$(bashio::config "DOCKER_MODS"); fi' /docker-mods; fi + && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i "1a if bashio::config.has_value \"DOCKER_MODS\"; then DOCKER_MODS=\$(bashio::config \"DOCKER_MODS\"); fi" /docker-mods; fi ################## # 3 Install apps # diff --git a/mylar3/Dockerfile b/mylar3/Dockerfile index 2fb69ca3a..cfef80cf4 100644 --- a/mylar3/Dockerfile +++ b/mylar3/Dockerfile @@ -47,7 +47,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 - && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i '1a if bashio::config.has_value "DOCKER_MODS"; then DOCKER_MODS=$(bashio::config "DOCKER_MODS"); fi' /docker-mods; fi + && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i "1a if bashio::config.has_value \"DOCKER_MODS\"; then DOCKER_MODS=\$(bashio::config \"DOCKER_MODS\"); fi" /docker-mods; fi ################## # 3 Install apps # diff --git a/nzbget/Dockerfile b/nzbget/Dockerfile index 1bd67842b..476d7a02f 100644 --- a/nzbget/Dockerfile +++ b/nzbget/Dockerfile @@ -51,7 +51,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 - && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i '1a if bashio::config.has_value "DOCKER_MODS"; then DOCKER_MODS=$(bashio::config "DOCKER_MODS"); fi' /docker-mods; fi + && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i "1a if bashio::config.has_value \"DOCKER_MODS\"; then DOCKER_MODS=\$(bashio::config \"DOCKER_MODS\"); fi" /docker-mods; fi ################## # 3 Install apps # diff --git a/ombi/Dockerfile b/ombi/Dockerfile index 1e9164f65..cf9ffeb6f 100644 --- a/ombi/Dockerfile +++ b/ombi/Dockerfile @@ -47,7 +47,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 - && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i '1a if bashio::config.has_value "DOCKER_MODS"; then DOCKER_MODS=$(bashio::config "DOCKER_MODS"); fi' /docker-mods; fi + && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i "1a if bashio::config.has_value \"DOCKER_MODS\"; then DOCKER_MODS=\$(bashio::config \"DOCKER_MODS\"); fi" /docker-mods; fi ################## # 3 Install apps # diff --git a/organizr/Dockerfile b/organizr/Dockerfile index d5ba0c0f4..28de4e0be 100644 --- a/organizr/Dockerfile +++ b/organizr/Dockerfile @@ -46,7 +46,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 - && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i '1a if bashio::config.has_value "DOCKER_MODS"; then DOCKER_MODS=$(bashio::config "DOCKER_MODS"); fi' /docker-mods; fi + && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i "1a if bashio::config.has_value \"DOCKER_MODS\"; then DOCKER_MODS=\$(bashio::config \"DOCKER_MODS\"); fi" /docker-mods; fi ################## # 3 Install apps # diff --git a/overseerr/Dockerfile b/overseerr/Dockerfile index 0ef446847..2999e4068 100644 --- a/overseerr/Dockerfile +++ b/overseerr/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 - && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i '1a if bashio::config.has_value "DOCKER_MODS"; then DOCKER_MODS=$(bashio::config "DOCKER_MODS"); fi' /docker-mods; fi + && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i "1a if bashio::config.has_value \"DOCKER_MODS\"; then DOCKER_MODS=\$(bashio::config \"DOCKER_MODS\"); fi" /docker-mods; fi ################## # 3 Install apps # diff --git a/papermerge/Dockerfile b/papermerge/Dockerfile index a23dee256..6a6703511 100644 --- a/papermerge/Dockerfile +++ b/papermerge/Dockerfile @@ -54,7 +54,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 - && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i '1a if bashio::config.has_value "DOCKER_MODS"; then DOCKER_MODS=$(bashio::config "DOCKER_MODS"); fi' /docker-mods; fi + && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i "1a if bashio::config.has_value \"DOCKER_MODS\"; then DOCKER_MODS=\$(bashio::config \"DOCKER_MODS\"); fi" /docker-mods; fi ################## # 3 Install apps # diff --git a/piwigo/Dockerfile b/piwigo/Dockerfile index e6b2ee7cf..befa8027e 100644 --- a/piwigo/Dockerfile +++ b/piwigo/Dockerfile @@ -47,7 +47,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 - && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i '1a if bashio::config.has_value "DOCKER_MODS"; then DOCKER_MODS=$(bashio::config "DOCKER_MODS"); fi' /docker-mods; fi + && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i "1a if bashio::config.has_value \"DOCKER_MODS\"; then DOCKER_MODS=\$(bashio::config \"DOCKER_MODS\"); fi" /docker-mods; fi ################## # 3 Install apps # diff --git a/plex/Dockerfile b/plex/Dockerfile index ea738146d..56369b9e6 100644 --- a/plex/Dockerfile +++ b/plex/Dockerfile @@ -56,7 +56,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 - && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i '1a if bashio::config.has_value "DOCKER_MODS"; then DOCKER_MODS=$(bashio::config "DOCKER_MODS"); fi' /docker-mods; fi + && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i "1a if bashio::config.has_value \"DOCKER_MODS\"; then DOCKER_MODS=\$(bashio::config \"DOCKER_MODS\"); fi" /docker-mods; fi ################## diff --git a/plex_meta_manager/Dockerfile b/plex_meta_manager/Dockerfile index eb37aa037..97c2c737b 100644 --- a/plex_meta_manager/Dockerfile +++ b/plex_meta_manager/Dockerfile @@ -55,7 +55,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 - && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i '1a if bashio::config.has_value "DOCKER_MODS"; then DOCKER_MODS=$(bashio::config "DOCKER_MODS"); fi' /docker-mods; fi + && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i "1a if bashio::config.has_value \"DOCKER_MODS\"; then DOCKER_MODS=\$(bashio::config \"DOCKER_MODS\"); fi" /docker-mods; fi ################## # 3 Install apps # diff --git a/prowlarr/Dockerfile b/prowlarr/Dockerfile index 6889505b0..93105ad98 100644 --- a/prowlarr/Dockerfile +++ b/prowlarr/Dockerfile @@ -47,7 +47,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 - && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i '1a if bashio::config.has_value "DOCKER_MODS"; then DOCKER_MODS=$(bashio::config "DOCKER_MODS"); fi' /docker-mods; fi + && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i "1a if bashio::config.has_value \"DOCKER_MODS\"; then DOCKER_MODS=\$(bashio::config \"DOCKER_MODS\"); fi" /docker-mods; fi ################## # 3 Install apps # diff --git a/qbittorrent/Dockerfile b/qbittorrent/Dockerfile index cc8007ad0..9c41b750d 100644 --- a/qbittorrent/Dockerfile +++ b/qbittorrent/Dockerfile @@ -70,7 +70,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 - && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i '1a if bashio::config.has_value "DOCKER_MODS"; then DOCKER_MODS=$(bashio::config "DOCKER_MODS"); fi' /docker-mods; fi + && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i "1a if bashio::config.has_value \"DOCKER_MODS\"; then DOCKER_MODS=\$(bashio::config \"DOCKER_MODS\"); fi" /docker-mods; fi ################## # 3 Install apps # diff --git a/radarr/Dockerfile b/radarr/Dockerfile index d3c4232e9..3f0f4b2c7 100644 --- a/radarr/Dockerfile +++ b/radarr/Dockerfile @@ -47,7 +47,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 - && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i '1a if bashio::config.has_value "DOCKER_MODS"; then DOCKER_MODS=$(bashio::config "DOCKER_MODS"); fi' /docker-mods; fi + && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i "1a if bashio::config.has_value \"DOCKER_MODS\"; then DOCKER_MODS=\$(bashio::config \"DOCKER_MODS\"); fi" /docker-mods; fi ################## # 3 Install apps # diff --git a/readarr/Dockerfile b/readarr/Dockerfile index 8bba85384..0d129cd93 100644 --- a/readarr/Dockerfile +++ b/readarr/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 - && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i '1a if bashio::config.has_value "DOCKER_MODS"; then DOCKER_MODS=$(bashio::config "DOCKER_MODS"); fi' /docker-mods; fi + && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i "1a if bashio::config.has_value \"DOCKER_MODS\"; then DOCKER_MODS=\$(bashio::config \"DOCKER_MODS\"); fi" /docker-mods; fi ################## # 3 Install apps # diff --git a/requestrr/Dockerfile b/requestrr/Dockerfile index ff025633c..ff9f58058 100644 --- a/requestrr/Dockerfile +++ b/requestrr/Dockerfile @@ -47,7 +47,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 - && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i '1a if bashio::config.has_value "DOCKER_MODS"; then DOCKER_MODS=$(bashio::config "DOCKER_MODS"); fi' /docker-mods; fi + && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i "1a if bashio::config.has_value \"DOCKER_MODS\"; then DOCKER_MODS=\$(bashio::config \"DOCKER_MODS\"); fi" /docker-mods; fi ################## # 3 Install apps # diff --git a/resiliosync/Dockerfile b/resiliosync/Dockerfile index 8d0022479..73e0aa5d7 100644 --- a/resiliosync/Dockerfile +++ b/resiliosync/Dockerfile @@ -61,7 +61,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 - && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i '1a if bashio::config.has_value "DOCKER_MODS"; then DOCKER_MODS=$(bashio::config "DOCKER_MODS"); fi' /docker-mods; fi + && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i "1a if bashio::config.has_value \"DOCKER_MODS\"; then DOCKER_MODS=\$(bashio::config \"DOCKER_MODS\"); fi" /docker-mods; fi ################## # 3 Install apps # diff --git a/sonarr/Dockerfile b/sonarr/Dockerfile index eda831f33..36823d757 100644 --- a/sonarr/Dockerfile +++ b/sonarr/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 - && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i '1a if bashio::config.has_value "DOCKER_MODS"; then DOCKER_MODS=$(bashio::config "DOCKER_MODS"); fi' /docker-mods; fi + && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i "1a if bashio::config.has_value \"DOCKER_MODS\"; then DOCKER_MODS=\$(bashio::config \"DOCKER_MODS\"); fi" /docker-mods; fi ################## # 3 Install apps # diff --git a/transmission/Dockerfile b/transmission/Dockerfile index 130e55d92..95906c0d0 100644 --- a/transmission/Dockerfile +++ b/transmission/Dockerfile @@ -47,7 +47,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 - && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i '1a if bashio::config.has_value "DOCKER_MODS"; then DOCKER_MODS=$(bashio::config "DOCKER_MODS"); fi' /docker-mods; fi + && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i "1a if bashio::config.has_value \"DOCKER_MODS\"; then DOCKER_MODS=\$(bashio::config \"DOCKER_MODS\"); fi" /docker-mods; fi ################## # 3 Install apps # diff --git a/ubooquity/Dockerfile b/ubooquity/Dockerfile index dddcabb4d..2ef27ffa3 100644 --- a/ubooquity/Dockerfile +++ b/ubooquity/Dockerfile @@ -57,7 +57,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 - && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i '1a if bashio::config.has_value "DOCKER_MODS"; then DOCKER_MODS=$(bashio::config "DOCKER_MODS"); fi' /docker-mods; fi + && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i "1a if bashio::config.has_value \"DOCKER_MODS\"; then DOCKER_MODS=\$(bashio::config \"DOCKER_MODS\"); fi" /docker-mods; fi ################## # 3 Install apps # diff --git a/unpackerr/Dockerfile b/unpackerr/Dockerfile index 73ff32d26..00a1d8f62 100644 --- a/unpackerr/Dockerfile +++ b/unpackerr/Dockerfile @@ -47,7 +47,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 - && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i '1a if bashio::config.has_value "DOCKER_MODS"; then DOCKER_MODS=$(bashio::config "DOCKER_MODS"); fi' /docker-mods; fi + && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i "1a if bashio::config.has_value \"DOCKER_MODS\"; then DOCKER_MODS=\$(bashio::config \"DOCKER_MODS\"); fi" /docker-mods; fi ################## # 3 Install apps # diff --git a/webtop_kde/Dockerfile b/webtop_kde/Dockerfile index f63ccfd36..9f52df34b 100644 --- a/webtop_kde/Dockerfile +++ b/webtop_kde/Dockerfile @@ -60,7 +60,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 - && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i '1a if bashio::config.has_value "DOCKER_MODS"; then DOCKER_MODS=$(bashio::config "DOCKER_MODS"); fi' /docker-mods; fi + && if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i "1a if bashio::config.has_value \"DOCKER_MODS\"; then DOCKER_MODS=\$(bashio::config \"DOCKER_MODS\"); fi" /docker-mods; fi ################## # 3 Install apps #