From 1fc3d2184161f28a4d61e20796ad2591a3f6087b Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 5 Sep 2022 10:26:18 +0200 Subject: [PATCH] Update Dockerfile --- qbittorrent/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qbittorrent/Dockerfile b/qbittorrent/Dockerfile index bffed7383..f30440404 100644 --- a/qbittorrent/Dockerfile +++ b/qbittorrent/Dockerfile @@ -56,8 +56,7 @@ RUN \ rm -f $(grep -sril "Potential tampering with custom" /etc/cont-init.d /etc/s6-overlay/s6-rc.d) \ \ # change config folder - && files=$(grep -sril '/config[ /$]' /etc/cont-init.d /etc/services.d /etc/s6-overlay/s6-rc.d) \ - && sed -i "s=/config=$CONFIGLOCATION || true=g" $files \ + && 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 \