diff --git a/deluge/root/etc/cont-init.d/98-themepark b/deluge/root/etc/cont-init.d/98-themepark
index 493372a7..639a3f46 100644
--- a/deluge/root/etc/cont-init.d/98-themepark
+++ b/deluge/root/etc/cont-init.d/98-themepark
@@ -1,7 +1,7 @@
#!/usr/bin/with-contenv bash
echo '---------------------------'
-echo '| Jackett theme.park Mod |'
+echo '| Deluge theme.park Mod |'
echo '---------------------------'
# Display variables for troubleshooting
@@ -21,11 +21,11 @@ if [[ -z ${TP_THEME} ]]; then
fi
# Adding stylesheets
-if ! grep -q "${TP_DOMAIN}" /app/Jackett/Content/index.html; then
+if ! grep -q "${TP_DOMAIN}" /usr/lib/python3/dist-packages/deluge/ui/web/index.html; then
echo '---------------------------'
echo '| Adding the stylesheet |'
echo '---------------------------'
- sed -i "s/<\/head>/<\/head> /g" /app/Jackett/Content/index.html
+ sed -i "s/<\/head>/<\/head> /g" /usr/lib/python3/dist-packages/deluge/ui/web/index.html
printf 'Stylesheet set to %s\n' "${TP_THEME}
"
fi
\ No newline at end of file
diff --git a/jackett/root/etc/cont-init.d/98-themepark b/jackett/root/etc/cont-init.d/98-themepark
index 639a3f46..493372a7 100644
--- a/jackett/root/etc/cont-init.d/98-themepark
+++ b/jackett/root/etc/cont-init.d/98-themepark
@@ -1,7 +1,7 @@
#!/usr/bin/with-contenv bash
echo '---------------------------'
-echo '| Deluge theme.park Mod |'
+echo '| Jackett theme.park Mod |'
echo '---------------------------'
# Display variables for troubleshooting
@@ -21,11 +21,11 @@ if [[ -z ${TP_THEME} ]]; then
fi
# Adding stylesheets
-if ! grep -q "${TP_DOMAIN}" /usr/lib/python3/dist-packages/deluge/ui/web/index.html; then
+if ! grep -q "${TP_DOMAIN}" /app/Jackett/Content/index.html; then
echo '---------------------------'
echo '| Adding the stylesheet |'
echo '---------------------------'
- sed -i "s/<\/head>/<\/head> /g" /usr/lib/python3/dist-packages/deluge/ui/web/index.html
+ sed -i "s/<\/head>/<\/head> /g" /app/Jackett/Content/index.html
printf 'Stylesheet set to %s\n' "${TP_THEME}
"
fi
\ No newline at end of file