From 65516f5841ad6e885771b2ea330e5a0774b257c4 Mon Sep 17 00:00:00 2001
From: gilbN <24592972+gilbN@users.noreply.github.com>
Date: Wed, 17 Mar 2021 20:22:30 +0100
Subject: [PATCH] sed upload and download.html files
---
qbittorrent/root/etc/cont-init.d/98-themepark | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/qbittorrent/root/etc/cont-init.d/98-themepark b/qbittorrent/root/etc/cont-init.d/98-themepark
index 6f126dbb..25397c6a 100644
--- a/qbittorrent/root/etc/cont-init.d/98-themepark
+++ b/qbittorrent/root/etc/cont-init.d/98-themepark
@@ -59,6 +59,10 @@ if ! grep -q "${TP_DOMAIN}" /themepark/private/index.html; then
echo '----------------------------------------------------------'
sed -i "s/<\/head>/<\/head> /g" /themepark/private/index.html
printf 'Stylesheet set to %s on private index.html\n\n' "${TP_THEME}"
+ sed -i "s/<\/head>/<\/head> /g" /themepark/private/upload.html
+ printf 'Stylesheet set to %s on private upload.html\n\n' "${TP_THEME}"
+ sed -i "s/<\/head>/<\/head> /g" /themepark/private/download.html
+ printf 'Stylesheet set to %s on private download.html\n\n' "${TP_THEME}"
fi
if ! grep -q "WebUI\\\RootFolder" /config/qBittorrent/qBittorrent.conf; then