Revert "Update 91-qbittorrent_configuration.sh"

This reverts commit e2a9fdebba.
This commit is contained in:
Alexandre
2023-02-08 12:00:10 +01:00
parent 9c81de9ba0
commit eac6a3bdae

View File

@@ -181,10 +181,8 @@ if bashio::config.has_value 'customUI' && [ ! "$CUSTOMUI" = default ] && [ ! "$C
sed -i "$LINE i\WebUI\\\AlternativeUIEnabled=true" "$CONFIG_LOCATION"/qBittorrent.conf
sed -i "$LINE i\WebUI\\\RootFolder=$CUSTOMUIDIR" "$CONFIG_LOCATION"/qBittorrent.conf
# Set nginx
sed -i "s=/vuetorrent/public/=$CUSTOMUIDIR/public/=g" /etc/nginx/servers/ingress.conf
sed -i "s=vue.torrent=$CUSTOMUI.torrent=g" /etc/nginx/servers/ingress.conf
#[[ "$(cat /data/customui)" != "$CUSTOMUI" ]] && bashio::log.warning "Your customui was changed since last time. Be sure to clear your browser cache to see the difference"
#echo "$CUSTOMUI" > /data/customui
#sed -i "s=/vuetorrent/public/=$CUSTOMUIDIR/public/=g" /etc/nginx/servers/ingress.conf
#sed -i "s=vue.torrent=$CUSTOMUI.torrent=g" /etc/nginx/servers/ingress.conf
fi