From 8034e8b575fe7691e885e66fd03dea3152088a84 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 10 Nov 2022 12:06:42 +0100 Subject: [PATCH] Update Dockerfile --- transmission/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/transmission/Dockerfile b/transmission/Dockerfile index f80e3a0bb..3e8e6b8ba 100644 --- a/transmission/Dockerfile +++ b/transmission/Dockerfile @@ -34,7 +34,8 @@ RUN \ echo '#!/usr/bin/with-contenv bash' > /etc/s6-overlay/s6-rc.d/init-transmission-config/run \ # Allow webui change && sed -i "s|bash|bashio|g" /etc/s6-overlay/s6-rc.d/svc-transmission/run \ - && sed -i "1a if bashio::config.has_value 'customUI'; then TRANSMISSION_WEB_HOME=/\$(bashio::config 'customUI')/; fi" /etc/s6-overlay/s6-rc.d/svc-transmission/run + && sed -i "1a if bashio::config.has_value 'customUI'; then TRANSMISSION_WEB_HOME=/\$(bashio::config 'customUI'); fi" /etc/s6-overlay/s6-rc.d/svc-transmission/run \ + && ln -s /usr/share/transmission/web /standard # Global LSIO modifications ARG CONFIGLOCATION="/config/addons_config/transmission"