mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 04:44:05 +02:00
Handle upstream formatting change: spaces not tab
Upstream lsio commit 7c0eb4e6761f5a48d8ce88facd24e2ed4c16f246 in github.com/linuxserver/docker-qbittorrent changed the formatting of the line being patched here and broke the sed replacement. Update the sed command to match as expected.
This commit is contained in:
@@ -46,7 +46,7 @@ RUN \
|
|||||||
\
|
\
|
||||||
# Correct permissions
|
# Correct permissions
|
||||||
&& sed -i 's=/config=/config/qBittorrent || true=g' /etc/cont-init.d/10-adduser \
|
&& sed -i 's=/config=/config/qBittorrent || true=g' /etc/cont-init.d/10-adduser \
|
||||||
&& sed -i 's= /config=/config/qBittorrent || true=g' /etc/cont-init.d/30-config \
|
&& sed -i 's= /config= /config/qBittorrent || true=g' /etc/cont-init.d/30-config \
|
||||||
\
|
\
|
||||||
# Set download folder to /share
|
# Set download folder to /share
|
||||||
&& sed -i 's|/downloads/|/share/qBittorrent/|g' /defaults/qBittorrent.conf \
|
&& sed -i 's|/downloads/|/share/qBittorrent/|g' /defaults/qBittorrent.conf \
|
||||||
|
|||||||
Reference in New Issue
Block a user