From 194a8a9bf489b1edb5c46f66cd36e9f2343f123f Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 23 Nov 2023 11:18:10 +0100 Subject: [PATCH] Update 91-qbittorrent_configuration.sh --- .../etc/cont-init.d/91-qbittorrent_configuration.sh | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/qbittorrent/rootfs/etc/cont-init.d/91-qbittorrent_configuration.sh b/qbittorrent/rootfs/etc/cont-init.d/91-qbittorrent_configuration.sh index cd3b5cb55..33ee1ce34 100755 --- a/qbittorrent/rootfs/etc/cont-init.d/91-qbittorrent_configuration.sh +++ b/qbittorrent/rootfs/etc/cont-init.d/91-qbittorrent_configuration.sh @@ -164,7 +164,9 @@ fi # Clean data if not custom if [ "$CUSTOMUI" = default ]; then + echo "" bashio::log.warning "Default Webui selected ! It will not work for ingress, which will stay with vuetorrent" + echo "" sed -i '/AlternativeUIEnabled/d' qBittorrent.conf sed -i '/RootFolder/d' qBittorrent.conf # Update ingress webui @@ -186,20 +188,15 @@ if bashio::config.has_value 'customUI' && [ ! "$CUSTOMUI" = default ] && [ ! "$C "qbit-matUI") curl -f -s -S -J -L -o /webui/release.zip "$(curl -f -s https://api.github.com/repos/bill-ahmed/qbit-matUI/releases/latest | grep -o "http.*Unix.*.zip" | head -1)" >/dev/null + echo "" + bashio::log.warning "qbit-matUI selected ! It will not work for ingress, which will stay with vuetorrent" + echo "" ;; "qb-web") curl -f -s -S -J -L -o /webui/release.zip "$(curl -f -s https://api.github.com/repos/CzBiX/qb-web/releases | grep -o "http.*qb-web-.*zip" | head -1)" >/dev/null ;; - "iQbit") - curl -f -s -S -J -L -o /webui/release.zip "https://github.com/ntoporcov/iQbit/archive/master.zip" >/dev/null - ;; - - "DarkLight") - curl -f -s -S -J -L -o /webui/release.zip "$(curl -f -s https://api.github.com/repos/crash0verride11/DarkLight-qBittorent-WebUI/releases | grep -o "http.*www.zip" | head -1)" >/dev/null - ;; - esac ### Install WebUI