From 350226df7de8cd3068b8f7c6cd0ce8cd6b1f4011 Mon Sep 17 00:00:00 2001
From: gilbN <24592972+gilbN@users.noreply.github.com>
Date: Sat, 13 Mar 2021 15:25:48 +0100
Subject: [PATCH] fix for sabnzbd mod bug
---
sabnzbd/root/etc/cont-init.d/98-themepark | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sabnzbd/root/etc/cont-init.d/98-themepark b/sabnzbd/root/etc/cont-init.d/98-themepark
index 7c17301d..ec8cf259 100644
--- a/sabnzbd/root/etc/cont-init.d/98-themepark
+++ b/sabnzbd/root/etc/cont-init.d/98-themepark
@@ -26,6 +26,9 @@ if ! grep -q "${TP_DOMAIN}" /app/sabnzbd/interfaces/Glitter/templates/main.tmpl;
echo '| Adding the stylesheet |'
echo '---------------------------'
sed -i "s/<\/head>/<\/head> /g" /app/sabnzbd/interfaces/Glitter/templates/main.tmpl
+ sed -i "s/<\/head>/<\/head> /g" /app/sabnzbd/interfaces/Config/templates/_inc_header_uc.tmpl
+ sed -i "s/<\/head>/<\/head> /g" /app/sabnzbd/interfaces/Config/templates/login/main.tmpl
+ sed -i "s/<\/head>/<\/head> /g" /app/sabnzbd/interfaces/wizard/inc_top.tmpl
printf 'Stylesheet set to %s\n' "${TP_THEME}
"
fi
\ No newline at end of file