mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 22:04:06 +02:00
Update Dockerfile
This commit is contained in:
@@ -52,7 +52,7 @@ RUN \
|
|||||||
ARG CONFIGLOCATION="/config/qBittorrent"
|
ARG CONFIGLOCATION="/config/qBittorrent"
|
||||||
RUN \
|
RUN \
|
||||||
# Avoid custom-init.d duplications
|
# Avoid custom-init.d duplications
|
||||||
rm -f $(grep -sril "Potential tampering with custom" /a /etc/cont-init.d /etc/s6-overlay/s6-rc.d) \
|
rm -f $(grep -sril "Potential tampering with custom" /etc/cont-init.d /etc/s6-overlay/s6-rc.d) \
|
||||||
\
|
\
|
||||||
# change config folder
|
# change config folder
|
||||||
&& grep -sril "/config" /etc/cont-init.d /etc/s6-overlay/s6-rc.d | xargs grep -riL "/config/" | xargs sed -i "s=/config=$CONFIGLOCATION || true=g" \
|
&& grep -sril "/config" /etc/cont-init.d /etc/s6-overlay/s6-rc.d | xargs grep -riL "/config/" | xargs sed -i "s=/config=$CONFIGLOCATION || true=g" \
|
||||||
|
|||||||
Reference in New Issue
Block a user