mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
Update 91-qbittorrent_configuration.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user