diff --git a/flexget/Dockerfile b/flexget/Dockerfile index 6e8e75207..e891de91b 100644 --- a/flexget/Dockerfile +++ b/flexget/Dockerfile @@ -38,14 +38,14 @@ RUN \ && sed -i 's/# install custom plugins/if bashio::config.has_value "FG_PLUGINS"; then FG_PLUGINS=$(bashio::config "FG_PLUGINS"); else FG_PLUGINS=""; fi/g' "$files" # GLOBAL LSIO MODIFICATIONS -# hadolint ignore=SC2015 ARG CONFIGLOCATION="/config/addons_config/flexget" +# hadolint ignore=SC2015 RUN \ # Avoid custom-init.d duplications rm -f $(grep -sril "Potential tampering with custom" /etc/cont-init.d /etc/s6-overlay/s6-rc.d) \ \ # change config folder - && grep -sril "/config" /etc/cont-init.d /etc/services.d /etc/s6-overlay/s6-rc.d | xargs grep -riL "/config/" | xargs sed -i "s=/config=$CONFIGLOCATION || true=g" \ + && sed -i "s=/config=$CONFIGLOCATION || true=g" $(grep -sril '/config[ /$]' /etc/cont-init.d /etc/services.d /etc/s6-overlay/s6-rc.d) \ \ # Allow UID and GID setting && for file in $(grep -srl "PUID:-911" /etc/cont-init.d /etc/s6-overlay/s6-rc.d); do \