From 643f8cbad0dc24a19f91a58b4ca3a3f04324d099 Mon Sep 17 00:00:00 2001 From: Alexandre Date: Tue, 5 Sep 2023 21:28:12 +0200 Subject: [PATCH] Clean --- autobrr/Dockerfile | 4 +--- bazarr/Dockerfile | 4 +--- booksonic_air/Dockerfile | 4 +--- calibre/Dockerfile | 4 +--- calibre_web/Dockerfile | 4 +--- code-server/Dockerfile | 4 +--- emby/Dockerfile | 4 +--- flexget/Dockerfile | 4 +--- grav/Dockerfile | 4 +--- immich/Dockerfile | 4 +--- jackett/Dockerfile | 4 +--- jellyfin/Dockerfile | 4 +--- lidarr/Dockerfile | 4 +--- mylar3/Dockerfile | 4 +--- nzbget/Dockerfile | 4 +--- ombi/Dockerfile | 4 +--- organizr/Dockerfile | 4 +--- overseerr/Dockerfile | 4 +--- papermerge/Dockerfile | 4 +--- piwigo/Dockerfile | 4 +--- plex/Dockerfile | 4 +--- plex_meta_manager/Dockerfile | 4 +--- prowlarr/Dockerfile | 4 +--- qbittorrent/Dockerfile | 4 +--- radarr/Dockerfile | 4 +--- readarr/Dockerfile | 4 +--- requestrr/Dockerfile | 4 +--- resiliosync/Dockerfile | 4 +--- sabnzbd/Dockerfile | 4 +--- sonarr/Dockerfile | 4 +--- transmission_openvpn/Dockerfile | 4 +--- ubooquity/Dockerfile | 4 +--- unpackerr/Dockerfile | 4 +--- webtop_kde/Dockerfile | 4 +--- 34 files changed, 34 insertions(+), 102 deletions(-) diff --git a/autobrr/Dockerfile b/autobrr/Dockerfile index ae2d5d6e1..01bea8508 100644 --- a/autobrr/Dockerfile +++ b/autobrr/Dockerfile @@ -47,9 +47,7 @@ RUN \ \ # Avoid chmod /config && for file in /etc/services.d/*/* /etc/cont-init.d/* /etc/s6-overlay/s6-rc.d/*/*;do if [ -f $file ] && [[ ! -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 \ + \ # Replace lsiown if not found && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi diff --git a/bazarr/Dockerfile b/bazarr/Dockerfile index 31fc807bb..dbb095d12 100644 --- a/bazarr/Dockerfile +++ b/bazarr/Dockerfile @@ -47,9 +47,7 @@ RUN \ \ # Avoid chmod /config && for file in /etc/services.d/*/* /etc/cont-init.d/* /etc/s6-overlay/s6-rc.d/*/*;do if [ -f $file ] && [[ ! -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 \ + \ # Replace lsiown if not found && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi diff --git a/booksonic_air/Dockerfile b/booksonic_air/Dockerfile index 281e695cb..f856df7d5 100644 --- a/booksonic_air/Dockerfile +++ b/booksonic_air/Dockerfile @@ -49,9 +49,7 @@ RUN \ \ # Avoid chmod /config && for file in /etc/services.d/*/* /etc/cont-init.d/* /etc/s6-overlay/s6-rc.d/*/*;do if [ -f $file ] && [[ ! -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 \ + \ # Replace lsiown if not found && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi diff --git a/calibre/Dockerfile b/calibre/Dockerfile index 442c85c9c..5d24f228d 100644 --- a/calibre/Dockerfile +++ b/calibre/Dockerfile @@ -48,9 +48,7 @@ RUN \ \ # Avoid chmod /config && for file in /etc/services.d/*/* /etc/cont-init.d/* /etc/s6-overlay/s6-rc.d/*/*;do if [ -f $file ] && [[ ! -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 \ + \ # Replace lsiown if not found && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi diff --git a/calibre_web/Dockerfile b/calibre_web/Dockerfile index e56544817..af09fe1a1 100644 --- a/calibre_web/Dockerfile +++ b/calibre_web/Dockerfile @@ -53,9 +53,7 @@ RUN \ \ # Avoid chmod /config && for file in /etc/services.d/*/* /etc/cont-init.d/* /etc/s6-overlay/s6-rc.d/*/*;do if [ -f $file ] && [[ ! -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 \ + \ # Replace lsiown if not found && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi diff --git a/code-server/Dockerfile b/code-server/Dockerfile index fde2b8b93..f8b8382e3 100644 --- a/code-server/Dockerfile +++ b/code-server/Dockerfile @@ -47,9 +47,7 @@ RUN \ \ # Avoid chmod /config && for file in /etc/services.d/*/* /etc/cont-init.d/* /etc/s6-overlay/s6-rc.d/*/*;do if [ -f $file ] && [[ ! -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 \ + \ # Replace lsiown if not found && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi diff --git a/emby/Dockerfile b/emby/Dockerfile index c77f98dcb..7b4e68cd1 100644 --- a/emby/Dockerfile +++ b/emby/Dockerfile @@ -47,9 +47,7 @@ RUN \ \ # Avoid chmod /config && for file in /etc/services.d/*/* /etc/cont-init.d/* /etc/s6-overlay/s6-rc.d/*/*;do if [ -f $file ] && [[ ! -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 \ + \ # Replace lsiown if not found && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi diff --git a/flexget/Dockerfile b/flexget/Dockerfile index 36ccb3d60..3d9ff9798 100644 --- a/flexget/Dockerfile +++ b/flexget/Dockerfile @@ -56,9 +56,7 @@ RUN \ \ # Avoid chmod /config && for file in /etc/services.d/*/* /etc/cont-init.d/* /etc/s6-overlay/s6-rc.d/*/*;do if [ -f $file ] && [[ ! -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 \ + \ # Replace lsiown if not found && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi diff --git a/grav/Dockerfile b/grav/Dockerfile index 1bd11838a..4e8cf6c60 100644 --- a/grav/Dockerfile +++ b/grav/Dockerfile @@ -47,9 +47,7 @@ RUN \ \ # Avoid chmod /config && for file in /etc/services.d/*/* /etc/cont-init.d/* /etc/s6-overlay/s6-rc.d/*/*;do if [ -f $file ] && [[ ! -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 \ + \ # Replace lsiown if not found && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi diff --git a/immich/Dockerfile b/immich/Dockerfile index df1dda037..5c0d278e9 100644 --- a/immich/Dockerfile +++ b/immich/Dockerfile @@ -46,9 +46,7 @@ RUN \ \ # Avoid chmod /config && for file in /etc/services.d/*/* /etc/cont-init.d/* /etc/s6-overlay/s6-rc.d/*/*;do if [ -f $file ] && [[ ! -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 \ + \ # Replace lsiown if not found && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi diff --git a/jackett/Dockerfile b/jackett/Dockerfile index 3721b600b..ca3873af4 100644 --- a/jackett/Dockerfile +++ b/jackett/Dockerfile @@ -46,9 +46,7 @@ RUN \ \ # Avoid chmod /config && for file in /etc/services.d/*/* /etc/cont-init.d/* /etc/s6-overlay/s6-rc.d/*/*;do if [ -f $file ] && [[ ! -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 \ + \ # Replace lsiown if not found && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi diff --git a/jellyfin/Dockerfile b/jellyfin/Dockerfile index 148a24900..95afd1f81 100644 --- a/jellyfin/Dockerfile +++ b/jellyfin/Dockerfile @@ -47,9 +47,7 @@ RUN \ \ # Avoid chmod /config && for file in /etc/services.d/*/* /etc/cont-init.d/* /etc/s6-overlay/s6-rc.d/*/*;do if [ -f $file ] && [[ ! -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 \ + \ # Replace lsiown if not found && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi diff --git a/lidarr/Dockerfile b/lidarr/Dockerfile index 79b493aaa..c834e4563 100644 --- a/lidarr/Dockerfile +++ b/lidarr/Dockerfile @@ -46,9 +46,7 @@ RUN \ \ # Avoid chmod /config && for file in /etc/services.d/*/* /etc/cont-init.d/* /etc/s6-overlay/s6-rc.d/*/*;do if [ -f $file ] && [[ ! -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 \ + \ # Replace lsiown if not found && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi diff --git a/mylar3/Dockerfile b/mylar3/Dockerfile index 63d8bb275..585b2059b 100644 --- a/mylar3/Dockerfile +++ b/mylar3/Dockerfile @@ -46,9 +46,7 @@ RUN \ \ # Avoid chmod /config && for file in /etc/services.d/*/* /etc/cont-init.d/* /etc/s6-overlay/s6-rc.d/*/*;do if [ -f $file ] && [[ ! -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 \ + \ # Replace lsiown if not found && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi diff --git a/nzbget/Dockerfile b/nzbget/Dockerfile index f2789d8be..7eb97d4fb 100644 --- a/nzbget/Dockerfile +++ b/nzbget/Dockerfile @@ -46,9 +46,7 @@ RUN \ \ # Avoid chmod /config && for file in /etc/services.d/*/* /etc/cont-init.d/* /etc/s6-overlay/s6-rc.d/*/*;do if [ -f $file ] && [[ ! -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 \ + \ # Replace lsiown if not found && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi diff --git a/ombi/Dockerfile b/ombi/Dockerfile index f8d680f69..94ad18001 100644 --- a/ombi/Dockerfile +++ b/ombi/Dockerfile @@ -46,9 +46,7 @@ RUN \ \ # Avoid chmod /config && for file in /etc/services.d/*/* /etc/cont-init.d/* /etc/s6-overlay/s6-rc.d/*/*;do if [ -f $file ] && [[ ! -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 \ + \ # Replace lsiown if not found && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi diff --git a/organizr/Dockerfile b/organizr/Dockerfile index 8e2838b05..5ed8afff0 100644 --- a/organizr/Dockerfile +++ b/organizr/Dockerfile @@ -45,9 +45,7 @@ RUN \ \ # Avoid chmod /config && for file in /etc/services.d/*/* /etc/cont-init.d/* /etc/s6-overlay/s6-rc.d/*/*;do if [ -f $file ] && [[ ! -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 \ + \ # Replace lsiown if not found && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi diff --git a/overseerr/Dockerfile b/overseerr/Dockerfile index 6c880ceb0..4ea900ad0 100644 --- a/overseerr/Dockerfile +++ b/overseerr/Dockerfile @@ -47,9 +47,7 @@ RUN \ \ # Avoid chmod /config && for file in /etc/services.d/*/* /etc/cont-init.d/* /etc/s6-overlay/s6-rc.d/*/*;do if [ -f $file ] && [[ ! -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 \ + \ # Replace lsiown if not found && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi diff --git a/papermerge/Dockerfile b/papermerge/Dockerfile index e458aa81e..1cf53592f 100644 --- a/papermerge/Dockerfile +++ b/papermerge/Dockerfile @@ -53,9 +53,7 @@ RUN \ \ # Avoid chmod /config && for file in /etc/services.d/*/* /etc/cont-init.d/* /etc/s6-overlay/s6-rc.d/*/*;do if [ -f $file ] && [[ ! -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 \ + \ # Replace lsiown if not found && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi diff --git a/piwigo/Dockerfile b/piwigo/Dockerfile index 2f1959561..99ecdd971 100644 --- a/piwigo/Dockerfile +++ b/piwigo/Dockerfile @@ -46,9 +46,7 @@ RUN \ \ # Avoid chmod /config && for file in /etc/services.d/*/* /etc/cont-init.d/* /etc/s6-overlay/s6-rc.d/*/*;do if [ -f $file ] && [[ ! -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 \ + \ # Replace lsiown if not found && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi diff --git a/plex/Dockerfile b/plex/Dockerfile index 47837f84e..1ddc4b61c 100644 --- a/plex/Dockerfile +++ b/plex/Dockerfile @@ -55,9 +55,7 @@ RUN \ \ # Avoid chmod /config && for file in /etc/services.d/*/* /etc/cont-init.d/* /etc/s6-overlay/s6-rc.d/*/*;do if [ -f $file ] && [[ ! -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 \ + \ # Replace lsiown if not found && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi diff --git a/plex_meta_manager/Dockerfile b/plex_meta_manager/Dockerfile index 25a290053..113695b92 100644 --- a/plex_meta_manager/Dockerfile +++ b/plex_meta_manager/Dockerfile @@ -54,9 +54,7 @@ RUN \ \ # Avoid chmod /config && for file in /etc/services.d/*/* /etc/cont-init.d/* /etc/s6-overlay/s6-rc.d/*/*;do if [ -f $file ] && [[ ! -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 \ + \ # Replace lsiown if not found && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi diff --git a/prowlarr/Dockerfile b/prowlarr/Dockerfile index f5bbf7f92..a26234506 100644 --- a/prowlarr/Dockerfile +++ b/prowlarr/Dockerfile @@ -46,9 +46,7 @@ RUN \ \ # Avoid chmod /config && for file in /etc/services.d/*/* /etc/cont-init.d/* /etc/s6-overlay/s6-rc.d/*/*;do if [ -f $file ] && [[ ! -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 \ + \ # Replace lsiown if not found && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi diff --git a/qbittorrent/Dockerfile b/qbittorrent/Dockerfile index fbcf96a7b..b36559da5 100644 --- a/qbittorrent/Dockerfile +++ b/qbittorrent/Dockerfile @@ -75,9 +75,7 @@ RUN \ \ # Avoid chmod /config && for file in /etc/services.d/*/* /etc/cont-init.d/* /etc/s6-overlay/s6-rc.d/*/*;do if [ -f $file ] && [[ ! -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 \ + \ # Replace lsiown if not found && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi diff --git a/radarr/Dockerfile b/radarr/Dockerfile index f72ae1d5d..790d4a364 100644 --- a/radarr/Dockerfile +++ b/radarr/Dockerfile @@ -46,9 +46,7 @@ RUN \ \ # Avoid chmod /config && for file in /etc/services.d/*/* /etc/cont-init.d/* /etc/s6-overlay/s6-rc.d/*/*;do if [ -f $file ] && [[ ! -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 \ + \ # Replace lsiown if not found && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi diff --git a/readarr/Dockerfile b/readarr/Dockerfile index a1071294e..1d34e02e8 100644 --- a/readarr/Dockerfile +++ b/readarr/Dockerfile @@ -47,9 +47,7 @@ RUN \ \ # Avoid chmod /config && for file in /etc/services.d/*/* /etc/cont-init.d/* /etc/s6-overlay/s6-rc.d/*/*;do if [ -f $file ] && [[ ! -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 \ + \ # Replace lsiown if not found && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi diff --git a/requestrr/Dockerfile b/requestrr/Dockerfile index e976bbcbd..1899dc2c0 100644 --- a/requestrr/Dockerfile +++ b/requestrr/Dockerfile @@ -46,9 +46,7 @@ RUN \ \ # Avoid chmod /config && for file in /etc/services.d/*/* /etc/cont-init.d/* /etc/s6-overlay/s6-rc.d/*/*;do if [ -f $file ] && [[ ! -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 \ + \ # Replace lsiown if not found && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi diff --git a/resiliosync/Dockerfile b/resiliosync/Dockerfile index 995e7c8d5..e0985a30e 100644 --- a/resiliosync/Dockerfile +++ b/resiliosync/Dockerfile @@ -65,9 +65,7 @@ RUN \ \ # Avoid chmod /config && for file in /etc/services.d/*/* /etc/cont-init.d/* /etc/s6-overlay/s6-rc.d/*/*;do if [ -f $file ] && [[ ! -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 \ + \ # Replace lsiown if not found && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi diff --git a/sabnzbd/Dockerfile b/sabnzbd/Dockerfile index d82cb6f43..56402cbdc 100644 --- a/sabnzbd/Dockerfile +++ b/sabnzbd/Dockerfile @@ -46,9 +46,7 @@ RUN \ \ # Avoid chmod /config && for file in /etc/services.d/*/* /etc/cont-init.d/* /etc/s6-overlay/s6-rc.d/*/*;do if [ -f $file ] && [[ ! -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 \ + \ # Replace lsiown if not found && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi diff --git a/sonarr/Dockerfile b/sonarr/Dockerfile index 74dadc8d4..62e49d2d0 100644 --- a/sonarr/Dockerfile +++ b/sonarr/Dockerfile @@ -47,9 +47,7 @@ RUN \ \ # Avoid chmod /config && for file in /etc/services.d/*/* /etc/cont-init.d/* /etc/s6-overlay/s6-rc.d/*/*;do if [ -f $file ] && [[ ! -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 \ + \ # Replace lsiown if not found && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi diff --git a/transmission_openvpn/Dockerfile b/transmission_openvpn/Dockerfile index f18514dcd..31230b59e 100644 --- a/transmission_openvpn/Dockerfile +++ b/transmission_openvpn/Dockerfile @@ -51,9 +51,7 @@ RUN \ \ # Avoid chmod /config && for file in /etc/services.d/*/* /etc/cont-init.d/* /etc/s6-overlay/s6-rc.d/*/*;do if [ -f $file ] && [[ ! -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 \ + \ # Replace lsiown if not found && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi diff --git a/ubooquity/Dockerfile b/ubooquity/Dockerfile index f38bf2413..31f4ce9ad 100644 --- a/ubooquity/Dockerfile +++ b/ubooquity/Dockerfile @@ -56,9 +56,7 @@ RUN \ \ # Avoid chmod /config && for file in /etc/services.d/*/* /etc/cont-init.d/* /etc/s6-overlay/s6-rc.d/*/*;do if [ -f $file ] && [[ ! -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 \ + \ # Replace lsiown if not found && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi diff --git a/unpackerr/Dockerfile b/unpackerr/Dockerfile index e2e26f93a..23e5e5a09 100644 --- a/unpackerr/Dockerfile +++ b/unpackerr/Dockerfile @@ -46,9 +46,7 @@ RUN \ \ # Avoid chmod /config && for file in /etc/services.d/*/* /etc/cont-init.d/* /etc/s6-overlay/s6-rc.d/*/*;do if [ -f $file ] && [[ ! -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 \ + \ # Replace lsiown if not found && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi diff --git a/webtop_kde/Dockerfile b/webtop_kde/Dockerfile index a177d209e..b4e176865 100644 --- a/webtop_kde/Dockerfile +++ b/webtop_kde/Dockerfile @@ -56,9 +56,7 @@ RUN \ \ # Avoid chmod /config && for file in /etc/services.d/*/* /etc/cont-init.d/* /etc/s6-overlay/s6-rc.d/*/*;do if [ -f $file ] && [[ ! -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 \ + \ # Replace lsiown if not found && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi