mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 22:04:06 +02:00
Update 91-configuration.sh
This commit is contained in:
@@ -106,7 +106,7 @@ if bashio::config.has_value 'customUI'; then
|
|||||||
|
|
||||||
### Install WebUI
|
### Install WebUI
|
||||||
mkdir -p /data/webui/$CUSTOMUI
|
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
|
rm /data/webui/*.zip
|
||||||
CUSTOMUIDIR="$(dirname "$(find /data/webui/$CUSTOMUI -iname "public" -type d)")"
|
CUSTOMUIDIR="$(dirname "$(find /data/webui/$CUSTOMUI -iname "public" -type d)")"
|
||||||
sed -i "$LINE i\WebUI\\\AlternativeUIEnabled=true" /config/qBittorrent/qBittorrent.conf
|
sed -i "$LINE i\WebUI\\\AlternativeUIEnabled=true" /config/qBittorrent/qBittorrent.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user