From 10bd28e69be8a6fa62e415b121cef43695bb89f8 Mon Sep 17 00:00:00 2001 From: gilbN <24592972+gilbN@users.noreply.github.com> Date: Mon, 21 Dec 2020 14:37:43 +0100 Subject: [PATCH] deluge and jackett fix --- deluge/root/etc/cont-init.d/98-themepark | 6 +++--- jackett/root/etc/cont-init.d/98-themepark | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) 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