From 02489793f5048c09720498db0345d203a1515ed2 Mon Sep 17 00:00:00 2001
From: Marius <24592972+gilbN@users.noreply.github.com>
Date: Tue, 3 Aug 2021 00:13:30 +0200
Subject: [PATCH] mods using new install method
---
docker-mods/bazarr/root/etc/cont-init.d/98-themepark | 3 ++-
.../calibre-web/root/etc/cont-init.d/98-themepark | 3 ++-
docker-mods/deluge/root/etc/cont-init.d/98-themepark | 3 ++-
docker-mods/emby/root/etc/cont-init.d/98-themepark | 3 ++-
.../jackett/root/etc/cont-init.d/98-themepark | 3 ++-
.../jellyfin/root/etc/cont-init.d/98-themepark | 3 ++-
.../lazylibrarian/root/etc/cont-init.d/98-themepark | 3 ++-
.../librespeed/root/etc/cont-init.d/98-themepark | 3 ++-
docker-mods/lidarr/root/etc/cont-init.d/98-themepark | 6 ++++--
docker-mods/nzbget/root/etc/cont-init.d/98-themepark | 3 ++-
docker-mods/plex/root/etc/cont-init.d/98-themepark | 3 ++-
.../prowlarr/root/etc/cont-init.d/98-themepark | 6 ++++--
.../qbittorrent/root/etc/cont-init.d/98-themepark | 3 ++-
docker-mods/radarr/root/etc/cont-init.d/98-themepark | 6 ++++--
.../readarr/root/etc/cont-init.d/98-themepark | 6 ++++--
.../rutorrent/root/etc/cont-init.d/98-themepark | 3 ++-
.../sabnzbd/root/etc/cont-init.d/98-themepark | 12 ++++++++----
docker-mods/sonarr/root/etc/cont-init.d/98-themepark | 6 ++++--
.../synclounge/root/etc/cont-init.d/98-themepark | 3 ++-
.../tautulli/root/etc/cont-init.d/98-themepark | 3 ++-
.../thelounge/root/etc/cont-init.d/98-themepark | 3 ++-
.../transmission/root/etc/cont-init.d/98-themepark | 3 ++-
22 files changed, 60 insertions(+), 30 deletions(-)
diff --git a/docker-mods/bazarr/root/etc/cont-init.d/98-themepark b/docker-mods/bazarr/root/etc/cont-init.d/98-themepark
index 0999180d..30fd48ad 100644
--- a/docker-mods/bazarr/root/etc/cont-init.d/98-themepark
+++ b/docker-mods/bazarr/root/etc/cont-init.d/98-themepark
@@ -39,7 +39,8 @@ if ! grep -q "${TP_DOMAIN}" "${APP_FILEPATH}"; then
echo '---------------------------'
echo '| Adding the stylesheet |'
echo '---------------------------'
- sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}"
+ sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}"
+ sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}"
printf 'Stylesheet set to %s\n' "${TP_THEME}"
if [[ -n ${TP_ADDON} ]]; then
sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}"
diff --git a/docker-mods/calibre-web/root/etc/cont-init.d/98-themepark b/docker-mods/calibre-web/root/etc/cont-init.d/98-themepark
index e85979c9..644fda43 100644
--- a/docker-mods/calibre-web/root/etc/cont-init.d/98-themepark
+++ b/docker-mods/calibre-web/root/etc/cont-init.d/98-themepark
@@ -32,7 +32,8 @@ if ! grep -q "${TP_DOMAIN}" /app/calibre-web/cps/templates/layout.html; then
echo '---------------------------'
echo '| Adding the stylesheet |'
echo '---------------------------'
- sed -i "s/<\/head>/<\/head> /g" /app/calibre-web/cps/templates/layout.html
+ sed -i "s/<\/head>/<\/head> /g" /app/calibre-web/cps/templates/layout.html
+ sed -i "s/<\/head>/<\/head> /g" /app/calibre-web/cps/templates/layout.html
printf 'Stylesheet set to %s\n' "${TP_THEME}
"
fi
diff --git a/docker-mods/deluge/root/etc/cont-init.d/98-themepark b/docker-mods/deluge/root/etc/cont-init.d/98-themepark
index 5087a383..fdfcd212 100644
--- a/docker-mods/deluge/root/etc/cont-init.d/98-themepark
+++ b/docker-mods/deluge/root/etc/cont-init.d/98-themepark
@@ -32,7 +32,8 @@ if ! grep -q "${TP_DOMAIN}" /usr/lib/python3/dist-packages/deluge/ui/web/index.h
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" /usr/lib/python3/dist-packages/deluge/ui/web/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/docker-mods/emby/root/etc/cont-init.d/98-themepark b/docker-mods/emby/root/etc/cont-init.d/98-themepark
index 826e88d4..5063f222 100644
--- a/docker-mods/emby/root/etc/cont-init.d/98-themepark
+++ b/docker-mods/emby/root/etc/cont-init.d/98-themepark
@@ -32,7 +32,8 @@ if ! grep -q "${TP_DOMAIN}" /app/emby/dashboard-ui/index.html; then
echo '---------------------------'
echo '| Adding the stylesheet |'
echo '---------------------------'
- sed -i "s/<\/body>/<\/body> /g" /app/emby/dashboard-ui/index.html
+ sed -i "s/<\/body>/<\/body> /g" /app/emby/dashboard-ui/index.html
+ sed -i "s/<\/body>/<\/body> /g" /app/emby/dashboard-ui/index.html
printf 'Stylesheet set to %s\n' "${TP_THEME}
"
fi
diff --git a/docker-mods/jackett/root/etc/cont-init.d/98-themepark b/docker-mods/jackett/root/etc/cont-init.d/98-themepark
index d193e6c3..707cf4a0 100644
--- a/docker-mods/jackett/root/etc/cont-init.d/98-themepark
+++ b/docker-mods/jackett/root/etc/cont-init.d/98-themepark
@@ -38,7 +38,8 @@ if ! grep -q "${TP_DOMAIN}" "${APP_FILEPATH}"; then
echo '---------------------------'
echo '| Adding the stylesheet |'
echo '---------------------------'
- sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}"
+ sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}"
+ sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}"
printf 'Stylesheet set to %s\n' "${TP_THEME}
"
fi
\ No newline at end of file
diff --git a/docker-mods/jellyfin/root/etc/cont-init.d/98-themepark b/docker-mods/jellyfin/root/etc/cont-init.d/98-themepark
index 9f4ced9b..f8653e22 100644
--- a/docker-mods/jellyfin/root/etc/cont-init.d/98-themepark
+++ b/docker-mods/jellyfin/root/etc/cont-init.d/98-themepark
@@ -32,7 +32,8 @@ if ! grep -q "${TP_DOMAIN}" /usr/share/jellyfin/web/index.html; then
echo '---------------------------'
echo '| Adding the stylesheet |'
echo '---------------------------'
- sed -i "s/<\/head>/<\/head> /g" /usr/share/jellyfin/web/index.html
+ sed -i "s/<\/body>/<\/body> /g" /usr/share/jellyfin/web/index.html
+ sed -i "s/<\/body>/<\/body> /g" /usr/share/jellyfin/web/index.html
printf 'Stylesheet set to %s\n' "${TP_THEME}
"
fi
\ No newline at end of file
diff --git a/docker-mods/lazylibrarian/root/etc/cont-init.d/98-themepark b/docker-mods/lazylibrarian/root/etc/cont-init.d/98-themepark
index fbb252f9..5270d780 100644
--- a/docker-mods/lazylibrarian/root/etc/cont-init.d/98-themepark
+++ b/docker-mods/lazylibrarian/root/etc/cont-init.d/98-themepark
@@ -32,7 +32,8 @@ if ! grep -q "${TP_DOMAIN}" /app/lazylibrarian/data/interfaces/bookstrap/base.ht
echo '---------------------------'
echo '| Adding the stylesheet |'
echo '---------------------------'
- sed -i "s/<\/head>/<\/head> /g" /app/lazylibrarian/data/interfaces/bookstrap/base.html
+ sed -i "s/<\/head>/<\/head> /g" /app/lazylibrarian/data/interfaces/bookstrap/base.html
+ sed -i "s/<\/head>/<\/head> /g" /app/lazylibrarian/data/interfaces/bookstrap/base.html
printf 'Stylesheet set to %s\n' "${TP_THEME}
"
fi
\ No newline at end of file
diff --git a/docker-mods/librespeed/root/etc/cont-init.d/98-themepark b/docker-mods/librespeed/root/etc/cont-init.d/98-themepark
index 2b8cc04a..d10b338a 100644
--- a/docker-mods/librespeed/root/etc/cont-init.d/98-themepark
+++ b/docker-mods/librespeed/root/etc/cont-init.d/98-themepark
@@ -32,7 +32,8 @@ if ! grep -q "${TP_DOMAIN}" /usr/share/webapps/librespeed/index.html; then
echo '---------------------------'
echo '| Adding the stylesheet |'
echo '---------------------------'
- sed -i "s/<\/head>/<\/head> /g" /usr/share/webapps/librespeed/index.html
+ sed -i "s/<\/head>/<\/head> /g" /usr/share/webapps/librespeed/index.html
+ sed -i "s/<\/head>/<\/head> /g" /usr/share/webapps/librespeed/index.html
printf 'Stylesheet set to %s\n' "${TP_THEME}
"
fi
\ No newline at end of file
diff --git a/docker-mods/lidarr/root/etc/cont-init.d/98-themepark b/docker-mods/lidarr/root/etc/cont-init.d/98-themepark
index 9d5d7bd5..1810be9c 100644
--- a/docker-mods/lidarr/root/etc/cont-init.d/98-themepark
+++ b/docker-mods/lidarr/root/etc/cont-init.d/98-themepark
@@ -40,7 +40,9 @@ if ! grep -q "${TP_DOMAIN}" "${APP_FILEPATH}"; then
echo '---------------------------'
echo '| Adding the stylesheet |'
echo '---------------------------'
- sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}"
- sed -i "s/<\/head>/<\/head> /g" "${LOGIN_FILEPATH}"
+ sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}"
+ sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}"
+ sed -i "s/<\/head>/<\/head> /g" "${LOGIN_FILEPATH}"
+ sed -i "s/<\/head>/<\/head> /g" "${LOGIN_FILEPATH}"
printf 'Stylesheet set to %s\n' "${TP_THEME}"
fi
\ No newline at end of file
diff --git a/docker-mods/nzbget/root/etc/cont-init.d/98-themepark b/docker-mods/nzbget/root/etc/cont-init.d/98-themepark
index 79daa5e4..ab37adff 100644
--- a/docker-mods/nzbget/root/etc/cont-init.d/98-themepark
+++ b/docker-mods/nzbget/root/etc/cont-init.d/98-themepark
@@ -37,6 +37,7 @@ if ! grep -q "${TP_DOMAIN}" "${APP_FILEPATH}"; then
echo '---------------------------'
echo '| Adding the stylesheet |'
echo '---------------------------'
- sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}"
+ sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}"
+ ed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}"
printf 'Stylesheet set to %s\n' "${TP_THEME}"
fi
\ No newline at end of file
diff --git a/docker-mods/plex/root/etc/cont-init.d/98-themepark b/docker-mods/plex/root/etc/cont-init.d/98-themepark
index 69dc5e7c..a35f9471 100644
--- a/docker-mods/plex/root/etc/cont-init.d/98-themepark
+++ b/docker-mods/plex/root/etc/cont-init.d/98-themepark
@@ -38,6 +38,7 @@ if ! grep -q "${TP_DOMAIN}" "${APP_FILEPATH}"; then
echo '---------------------------'
echo '| Adding the stylesheet |'
echo '---------------------------'
- sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}"/usr/lib/plexmediaserver/Resources/Plug-ins-*/WebClient.bundle/Contents/Resources/index.html
+ sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}"/usr/lib/plexmediaserver/Resources/Plug-ins-*/WebClient.bundle/Contents/Resources/index.html
+ sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}"/usr/lib/plexmediaserver/Resources/Plug-ins-*/WebClient.bundle/Contents/Resources/index.html
printf 'Stylesheet set to %s\n' "${TP_THEME}"
fi
\ No newline at end of file
diff --git a/docker-mods/prowlarr/root/etc/cont-init.d/98-themepark b/docker-mods/prowlarr/root/etc/cont-init.d/98-themepark
index b88167f5..00844f52 100644
--- a/docker-mods/prowlarr/root/etc/cont-init.d/98-themepark
+++ b/docker-mods/prowlarr/root/etc/cont-init.d/98-themepark
@@ -41,8 +41,10 @@ if ! grep -q "${TP_DOMAIN}" "${APP_FILEPATH}"; then
echo '---------------------------'
echo '| Adding the stylesheet |'
echo '---------------------------'
- sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}"
- sed -i "s/<\/head>/<\/head> /g" "${LOGIN_FILEPATH}"
+ sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}"
+ sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}"
+ sed -i "s/<\/head>/<\/head> /g" "${LOGIN_FILEPATH}"
+ sed -i "s/<\/head>/<\/head> /g" "${LOGIN_FILEPATH}"
printf 'Stylesheet set to %s\n' "${TP_THEME}"
if [[ -n ${TP_ADDON} ]]; then
sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}"
diff --git a/docker-mods/qbittorrent/root/etc/cont-init.d/98-themepark b/docker-mods/qbittorrent/root/etc/cont-init.d/98-themepark
index 4c89ce61..48c342bd 100644
--- a/docker-mods/qbittorrent/root/etc/cont-init.d/98-themepark
+++ b/docker-mods/qbittorrent/root/etc/cont-init.d/98-themepark
@@ -74,7 +74,8 @@ if [[ ! -d /themepark ]]; then
fi
sed_file(){
- sed -i "s/<\/head>/<\/head> /g" $1
+ sed -i "s/<\/head>/<\/head> /g" $1
+ sed -i "s/<\/head>/<\/head> /g" $1
printf 'Stylesheet set to %s on %s\n\n' "${TP_THEME}" "$1"
}
diff --git a/docker-mods/radarr/root/etc/cont-init.d/98-themepark b/docker-mods/radarr/root/etc/cont-init.d/98-themepark
index 5ba1fa28..6200234d 100644
--- a/docker-mods/radarr/root/etc/cont-init.d/98-themepark
+++ b/docker-mods/radarr/root/etc/cont-init.d/98-themepark
@@ -41,8 +41,10 @@ if ! grep -q "${TP_DOMAIN}" "${APP_FILEPATH}"; then
echo '---------------------------'
echo '| Adding the stylesheet |'
echo '---------------------------'
- sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}"
- sed -i "s/<\/head>/<\/head> /g" "${LOGIN_FILEPATH}"
+ sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}"
+ sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}"
+ sed -i "s/<\/head>/<\/head> /g" "${LOGIN_FILEPATH}"
+ sed -i "s/<\/head>/<\/head> /g" "${LOGIN_FILEPATH}"
printf 'Stylesheet set to %s\n' "${TP_THEME}"
if [[ -n ${TP_ADDON} ]]; then
sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}"
diff --git a/docker-mods/readarr/root/etc/cont-init.d/98-themepark b/docker-mods/readarr/root/etc/cont-init.d/98-themepark
index 8790bf05..2cfddf56 100644
--- a/docker-mods/readarr/root/etc/cont-init.d/98-themepark
+++ b/docker-mods/readarr/root/etc/cont-init.d/98-themepark
@@ -40,8 +40,10 @@ if ! grep -q "${TP_DOMAIN}" "${APP_FILEPATH}"; then
echo '---------------------------'
echo '| Adding the stylesheet |'
echo '---------------------------'
- sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}"
- sed -i "s/<\/head>/<\/head> /g" "${LOGIN_FILEPATH}"
+ sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}"
+ sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}"
+ sed -i "s/<\/head>/<\/head> /g" "${LOGIN_FILEPATH}"
+ sed -i "s/<\/head>/<\/head> /g" "${LOGIN_FILEPATH}"
printf 'Stylesheet set to %s\n' "${TP_THEME}"
if [[ -n ${TP_ADDON} ]]; then
sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}"
diff --git a/docker-mods/rutorrent/root/etc/cont-init.d/98-themepark b/docker-mods/rutorrent/root/etc/cont-init.d/98-themepark
index 6b4e6cc5..0567c07a 100644
--- a/docker-mods/rutorrent/root/etc/cont-init.d/98-themepark
+++ b/docker-mods/rutorrent/root/etc/cont-init.d/98-themepark
@@ -32,7 +32,8 @@ if ! grep -q "${TP_DOMAIN}" /app/rutorrent/index.html; then
echo '---------------------------'
echo '| Adding the stylesheet |'
echo '---------------------------'
- sed -i "s/<\/head>/<\/head> /g" /app/rutorrent/index.html
+ sed -i "s/<\/head>/<\/head> /g" /app/rutorrent/index.html
+ sed -i "s/<\/head>/<\/head> /g" /app/rutorrent/index.html
printf 'Stylesheet set to %s\n' "${TP_THEME}
"
fi
\ No newline at end of file
diff --git a/docker-mods/sabnzbd/root/etc/cont-init.d/98-themepark b/docker-mods/sabnzbd/root/etc/cont-init.d/98-themepark
index 0d34a522..61871d9b 100644
--- a/docker-mods/sabnzbd/root/etc/cont-init.d/98-themepark
+++ b/docker-mods/sabnzbd/root/etc/cont-init.d/98-themepark
@@ -38,9 +38,13 @@ if ! grep -q "${TP_DOMAIN}" "${APP_FILEPATH}/interfaces/Glitter/templates/main.t
echo '---------------------------'
echo '| Adding the stylesheet |'
echo '---------------------------'
- sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}/interfaces/Glitter/templates/main.tmpl"
- sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}/interfaces/Config/templates/_inc_header_uc.tmpl"
- sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}/interfaces/Config/templates/login/main.tmpl"
- sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}/interfaces/wizard/inc_top.tmpl"
+ sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}/interfaces/Glitter/templates/main.tmpl"
+ sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}/interfaces/Config/templates/_inc_header_uc.tmpl"
+ sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}/interfaces/Config/templates/login/main.tmpl"
+ sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}/interfaces/wizard/inc_top.tmpl"
+ sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}/interfaces/Glitter/templates/main.tmpl"
+ sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}/interfaces/Config/templates/_inc_header_uc.tmpl"
+ sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}/interfaces/Config/templates/login/main.tmpl"
+ sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}/interfaces/wizard/inc_top.tmpl"
printf 'Stylesheet set to %s\n' "${TP_THEME}"
fi
\ No newline at end of file
diff --git a/docker-mods/sonarr/root/etc/cont-init.d/98-themepark b/docker-mods/sonarr/root/etc/cont-init.d/98-themepark
index f97b5a3d..8c36de2e 100644
--- a/docker-mods/sonarr/root/etc/cont-init.d/98-themepark
+++ b/docker-mods/sonarr/root/etc/cont-init.d/98-themepark
@@ -41,8 +41,10 @@ if ! grep -q "${TP_DOMAIN}" "${APP_FILEPATH}"; then
echo '---------------------------'
echo '| Adding the stylesheet |'
echo '---------------------------'
- sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}"
- sed -i "s/<\/head>/<\/head> /g" "${LOGIN_FILEPATH}"
+ sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}"
+ sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}"
+ sed -i "s/<\/head>/<\/head> /g" "${LOGIN_FILEPATH}"
+ sed -i "s/<\/head>/<\/head> /g" "${LOGIN_FILEPATH}"
printf 'Stylesheet set to %s\n' "${TP_THEME}"
if [[ -n ${TP_ADDON} ]]; then
sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}"
diff --git a/docker-mods/synclounge/root/etc/cont-init.d/98-themepark b/docker-mods/synclounge/root/etc/cont-init.d/98-themepark
index c0188308..e373ebc0 100644
--- a/docker-mods/synclounge/root/etc/cont-init.d/98-themepark
+++ b/docker-mods/synclounge/root/etc/cont-init.d/98-themepark
@@ -32,7 +32,8 @@ if ! grep -q "${TP_DOMAIN}" /usr/lib/node_modules/synclounge/dist/index.html; th
echo '---------------------------'
echo '| Adding the stylesheet |'
echo '---------------------------'
- sed -i "s/<\/head>/<\/head> /g" /usr/lib/node_modules/synclounge/dist/index.html
+ sed -i "s/<\/head>/<\/head> /g" /usr/lib/node_modules/synclounge/dist/index.html
+ sed -i "s/<\/head>/<\/head> /g" /usr/lib/node_modules/synclounge/dist/index.html
printf 'Stylesheet set to %s\n' "${TP_THEME}
"
fi
\ No newline at end of file
diff --git a/docker-mods/tautulli/root/etc/cont-init.d/98-themepark b/docker-mods/tautulli/root/etc/cont-init.d/98-themepark
index 08beb1c6..be378f8e 100644
--- a/docker-mods/tautulli/root/etc/cont-init.d/98-themepark
+++ b/docker-mods/tautulli/root/etc/cont-init.d/98-themepark
@@ -38,6 +38,7 @@ if ! grep -q "${TP_DOMAIN}" "${APP_FILEPATH}"; then
echo '---------------------------'
echo '| Adding the stylesheet |'
echo '---------------------------'
- sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}"
+ sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}"
+ sed -i "s/<\/head>/<\/head> /g" "${APP_FILEPATH}"
printf 'Stylesheet set to %s\n' "${TP_THEME}"
fi
\ No newline at end of file
diff --git a/docker-mods/thelounge/root/etc/cont-init.d/98-themepark b/docker-mods/thelounge/root/etc/cont-init.d/98-themepark
index 2c181036..aeaf101d 100644
--- a/docker-mods/thelounge/root/etc/cont-init.d/98-themepark
+++ b/docker-mods/thelounge/root/etc/cont-init.d/98-themepark
@@ -32,7 +32,8 @@ if ! grep -q "${TP_DOMAIN}" /usr/lib/node_modules/thelounge/client/index.html.tp
echo '---------------------------'
echo '| Adding the stylesheet |'
echo '---------------------------'
- sed -i "s/<\/head>/<\/head> /g" /usr/lib/node_modules/thelounge/client/index.html.tpl
+ sed -i "s/<\/head>/<\/head> /g" /usr/lib/node_modules/thelounge/client/index.html.tpl
+ sed -i "s/<\/head>/<\/head> /g" /usr/lib/node_modules/thelounge/client/index.html.tpl
printf 'Stylesheet set to %s\n' "${TP_THEME}
"
fi
\ No newline at end of file
diff --git a/docker-mods/transmission/root/etc/cont-init.d/98-themepark b/docker-mods/transmission/root/etc/cont-init.d/98-themepark
index 189cbce6..2ec8b98a 100644
--- a/docker-mods/transmission/root/etc/cont-init.d/98-themepark
+++ b/docker-mods/transmission/root/etc/cont-init.d/98-themepark
@@ -32,7 +32,8 @@ if ! grep -q "${TP_DOMAIN}" /usr/share/transmission/web/index.html; then
echo '---------------------------'
echo '| Adding the stylesheet |'
echo '---------------------------'
- sed -i "s/<\/head>/<\/head> /g" /usr/share/transmission/web/index.html
+ sed -i "s/<\/head>/<\/head> /g" /usr/share/transmission/web/index.html
+ sed -i "s/<\/head>/<\/head> /g" /usr/share/transmission/web/index.html
printf 'Stylesheet set to %s\n' "${TP_THEME}
"
fi
\ No newline at end of file