Update 91-configuration.sh

This commit is contained in:
Alexandre
2021-02-23 20:47:12 +01:00
committed by GitHub
parent c3a74fa587
commit edcaaaa047

View File

@@ -106,7 +106,7 @@ if bashio::config.has_value 'customUI'; then
### Install WebUI
mkdir -p /data/webui/$CUSTOMUI
unzip -u -q /data/webui/release.zip -d /data/webui/$CUSTOMUI
unzip -q /data/webui/release.zip -d /data/webui/$CUSTOMUI
rm /data/webui/*.zip
CUSTOMUIDIR="$(dirname "$(find /data/webui/$CUSTOMUI -iname "public" -type d)")"
sed -i "$LINE i\WebUI\\\AlternativeUIEnabled=true" /config/qBittorrent/qBittorrent.conf