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 21b9e861..8d954e41 100644 --- a/docker-mods/bazarr/root/etc/cont-init.d/98-themepark +++ b/docker-mods/bazarr/root/etc/cont-init.d/98-themepark @@ -41,7 +41,7 @@ if [[ -z ${TP_THEME} ]]; then fi # Adding stylesheets -if ! grep -q "${TP_DOMAIN}" "${APP_FILEPATH}"; then +if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}"; then echo '---------------------------' echo '| Adding the stylesheet |' echo '---------------------------' 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 3c9f97c8..a563da09 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 @@ -34,7 +34,7 @@ if [[ -z ${TP_THEME} ]]; then fi # Adding stylesheets -if ! grep -q "${TP_DOMAIN}" /app/calibre-web/cps/templates/layout.html; then +if ! grep -q "${TP_DOMAIN}/css/base" /app/calibre-web/cps/templates/layout.html; then echo '---------------------------' echo '| Adding the stylesheet |' echo '---------------------------' 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 0eca72b2..8ca49502 100644 --- a/docker-mods/deluge/root/etc/cont-init.d/98-themepark +++ b/docker-mods/deluge/root/etc/cont-init.d/98-themepark @@ -34,7 +34,7 @@ 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}/css/base" /usr/lib/python3/dist-packages/deluge/ui/web/index.html; then echo '---------------------------' echo '| Adding the stylesheet |' echo '---------------------------' diff --git a/docker-mods/duplicati/root/etc/cont-init.d/98-themepark b/docker-mods/duplicati/root/etc/cont-init.d/98-themepark index cbff8b1b..9a28300e 100644 --- a/docker-mods/duplicati/root/etc/cont-init.d/98-themepark +++ b/docker-mods/duplicati/root/etc/cont-init.d/98-themepark @@ -47,7 +47,7 @@ echo '---------------------------------------' echo '| Adding the stylesheet to html files |' echo '---------------------------------------' -if ! grep -q "${TP_DOMAIN}" "${APP_FILEPATH}/index.html"; then +if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}/index.html"; then find ${APP_FILEPATH} -type f -iname *.html | while read fname do sed_file $fname 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 1d5a9230..ece07fda 100644 --- a/docker-mods/emby/root/etc/cont-init.d/98-themepark +++ b/docker-mods/emby/root/etc/cont-init.d/98-themepark @@ -34,7 +34,7 @@ if [[ -z ${TP_THEME} ]]; then fi # Adding stylesheets -if ! grep -q "${TP_DOMAIN}" /app/emby/dashboard-ui/index.html; then +if ! grep -q "${TP_DOMAIN}/css/base" /app/emby/dashboard-ui/index.html; then echo '---------------------------' echo '| Adding the stylesheet |' echo '---------------------------' 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 20e040cf..3dd618d4 100644 --- a/docker-mods/jackett/root/etc/cont-init.d/98-themepark +++ b/docker-mods/jackett/root/etc/cont-init.d/98-themepark @@ -40,7 +40,7 @@ if [[ -z ${TP_THEME} ]]; then fi # Adding stylesheets -if ! grep -q "${TP_DOMAIN}" "${APP_FILEPATH}"; then +if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}"; then echo '---------------------------' echo '| Adding the stylesheet |' echo '---------------------------' 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 fbff888c..edfb5e08 100644 --- a/docker-mods/jellyfin/root/etc/cont-init.d/98-themepark +++ b/docker-mods/jellyfin/root/etc/cont-init.d/98-themepark @@ -34,7 +34,7 @@ if [[ -z ${TP_THEME} ]]; then fi # Adding stylesheets -if ! grep -q "${TP_DOMAIN}" /usr/share/jellyfin/web/index.html; then +if ! grep -q "${TP_DOMAIN}/css/base" /usr/share/jellyfin/web/index.html; then echo '---------------------------' echo '| Adding the stylesheet |' echo '---------------------------' 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 4b7f0ca5..5959143b 100644 --- a/docker-mods/lazylibrarian/root/etc/cont-init.d/98-themepark +++ b/docker-mods/lazylibrarian/root/etc/cont-init.d/98-themepark @@ -34,7 +34,7 @@ if [[ -z ${TP_THEME} ]]; then fi # Adding stylesheets -if ! grep -q "${TP_DOMAIN}" /app/lazylibrarian/data/interfaces/bookstrap/base.html; then +if ! grep -q "${TP_DOMAIN}/css/base" /app/lazylibrarian/data/interfaces/bookstrap/base.html; then echo '---------------------------' echo '| Adding the stylesheet |' echo '---------------------------' 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 e7c26105..1dff5682 100644 --- a/docker-mods/librespeed/root/etc/cont-init.d/98-themepark +++ b/docker-mods/librespeed/root/etc/cont-init.d/98-themepark @@ -34,7 +34,7 @@ if [[ -z ${TP_THEME} ]]; then fi # Adding stylesheets -if ! grep -q "${TP_DOMAIN}" /usr/share/webapps/librespeed/index.html; then +if ! grep -q "${TP_DOMAIN}/css/base" /usr/share/webapps/librespeed/index.html; then echo '---------------------------' echo '| Adding the stylesheet |' echo '---------------------------' 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 17553b0f..d135e134 100644 --- a/docker-mods/lidarr/root/etc/cont-init.d/98-themepark +++ b/docker-mods/lidarr/root/etc/cont-init.d/98-themepark @@ -43,7 +43,7 @@ if [[ -z ${TP_THEME} ]]; then fi # Adding stylesheets -if ! grep -q "${TP_DOMAIN}" "${APP_FILEPATH}"; then +if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}"; then echo '---------------------------' echo '| Adding the stylesheet |' echo '---------------------------' diff --git a/docker-mods/mylar3/root/etc/cont-init.d/98-themepark b/docker-mods/mylar3/root/etc/cont-init.d/98-themepark index 75726d89..b737f741 100644 --- a/docker-mods/mylar3/root/etc/cont-init.d/98-themepark +++ b/docker-mods/mylar3/root/etc/cont-init.d/98-themepark @@ -52,7 +52,7 @@ echo '---------------------------------------' echo '| Adding the stylesheet to html files |' echo '---------------------------------------' -if ! grep -q "${TP_DOMAIN}" "${APP_FILEPATH}/index.html"; then +if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}/index.html"; then find ${APP_FILEPATH} -type f -iname *.html | while read fname do sed_file $fname 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 fd3bef99..11627c1b 100644 --- a/docker-mods/nzbget/root/etc/cont-init.d/98-themepark +++ b/docker-mods/nzbget/root/etc/cont-init.d/98-themepark @@ -39,7 +39,7 @@ if [[ -z ${TP_THEME} ]]; then fi # Adding stylesheets -if ! grep -q "${TP_DOMAIN}" "${APP_FILEPATH}"; then +if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}"; then echo '---------------------------' echo '| Adding the stylesheet |' echo '---------------------------' 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 f4ec22c2..f6c4449f 100644 --- a/docker-mods/plex/root/etc/cont-init.d/98-themepark +++ b/docker-mods/plex/root/etc/cont-init.d/98-themepark @@ -40,7 +40,7 @@ if [[ -z ${TP_THEME} ]]; then fi # Adding stylesheets -if ! grep -q "${TP_DOMAIN}" "${APP_FILEPATH}"; then +if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}"; then echo '---------------------------' echo '| Adding the stylesheet |' echo '---------------------------' 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 3db59318..6ebe7163 100644 --- a/docker-mods/prowlarr/root/etc/cont-init.d/98-themepark +++ b/docker-mods/prowlarr/root/etc/cont-init.d/98-themepark @@ -43,7 +43,7 @@ if [[ -z ${TP_THEME} ]]; then fi # Adding stylesheets -if ! grep -q "${TP_DOMAIN}" "${APP_FILEPATH}"; then +if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}"; then echo '---------------------------' echo '| Adding the stylesheet |' echo '---------------------------' 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 6e74af78..576bcff5 100644 --- a/docker-mods/qbittorrent/root/etc/cont-init.d/98-themepark +++ b/docker-mods/qbittorrent/root/etc/cont-init.d/98-themepark @@ -89,11 +89,11 @@ sed_file(){ echo '---------------------------------------' echo '| Adding the stylesheet to html files |' echo '---------------------------------------' -if ! grep -q "${TP_DOMAIN}" /themepark/public/index.html; then +if ! grep -q "${TP_DOMAIN}/css/base" /themepark/public/index.html; then sed_file /themepark/public/index.html fi -if ! grep -q "${TP_DOMAIN}" /themepark/private/index.html; then +if ! grep -q "${TP_DOMAIN}/css/base" /themepark/private/index.html; then find ./themepark/private -type f -iname *.html | while read fname do sed_file $fname 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 9009b2b8..e35a34f8 100644 --- a/docker-mods/radarr/root/etc/cont-init.d/98-themepark +++ b/docker-mods/radarr/root/etc/cont-init.d/98-themepark @@ -43,7 +43,7 @@ if [[ -z ${TP_THEME} ]]; then fi # Adding stylesheets -if ! grep -q "${TP_DOMAIN}" "${APP_FILEPATH}"; then +if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}"; then echo '---------------------------' echo '| Adding the stylesheet |' echo '---------------------------' 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 15cb9b34..8b2ae8c2 100644 --- a/docker-mods/readarr/root/etc/cont-init.d/98-themepark +++ b/docker-mods/readarr/root/etc/cont-init.d/98-themepark @@ -43,7 +43,7 @@ if [[ -z ${TP_THEME} ]]; then fi # Adding stylesheets -if ! grep -q "${TP_DOMAIN}" "${APP_FILEPATH}"; then +if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}"; then echo '---------------------------' echo '| Adding the stylesheet |' echo '---------------------------' 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 180cf584..9cd87d4d 100644 --- a/docker-mods/rutorrent/root/etc/cont-init.d/98-themepark +++ b/docker-mods/rutorrent/root/etc/cont-init.d/98-themepark @@ -34,7 +34,7 @@ if [[ -z ${TP_THEME} ]]; then fi # Adding stylesheets -if ! grep -q "${TP_DOMAIN}" /app/rutorrent/index.html; then +if ! grep -q "${TP_DOMAIN}/css/base" /app/rutorrent/index.html; then echo '---------------------------' echo '| Adding the stylesheet |' echo '---------------------------' 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 9d917140..6e16bb53 100644 --- a/docker-mods/sabnzbd/root/etc/cont-init.d/98-themepark +++ b/docker-mods/sabnzbd/root/etc/cont-init.d/98-themepark @@ -40,7 +40,7 @@ if [[ -z ${TP_THEME} ]]; then fi # Adding stylesheets -if ! grep -q "${TP_DOMAIN}" "${APP_FILEPATH}/interfaces/Glitter/templates/main.tmpl"; then +if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}/interfaces/Glitter/templates/main.tmpl"; then echo '---------------------------' echo '| Adding the stylesheet |' echo '---------------------------' 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 615e817d..d11aa64e 100644 --- a/docker-mods/sonarr/root/etc/cont-init.d/98-themepark +++ b/docker-mods/sonarr/root/etc/cont-init.d/98-themepark @@ -43,7 +43,7 @@ if [[ -z ${TP_THEME} ]]; then fi # Adding stylesheets -if ! grep -q "${TP_DOMAIN}" "${APP_FILEPATH}"; then +if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}"; then echo '---------------------------' echo '| Adding the stylesheet |' echo '---------------------------' 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 129e12d3..f3ea1e80 100644 --- a/docker-mods/synclounge/root/etc/cont-init.d/98-themepark +++ b/docker-mods/synclounge/root/etc/cont-init.d/98-themepark @@ -34,7 +34,7 @@ if [[ -z ${TP_THEME} ]]; then fi # Adding stylesheets -if ! grep -q "${TP_DOMAIN}" /usr/lib/node_modules/synclounge/dist/index.html; then +if ! grep -q "${TP_DOMAIN}/css/base" /usr/lib/node_modules/synclounge/dist/index.html; then echo '---------------------------' echo '| Adding the stylesheet |' echo '---------------------------' 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 13518cec..58a7fdfa 100644 --- a/docker-mods/tautulli/root/etc/cont-init.d/98-themepark +++ b/docker-mods/tautulli/root/etc/cont-init.d/98-themepark @@ -40,7 +40,7 @@ if [[ -z ${TP_THEME} ]]; then fi # Adding stylesheets -if ! grep -q "${TP_DOMAIN}" "${APP_FILEPATH}"; then +if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}"; then echo '---------------------------' echo '| Adding the stylesheet |' echo '---------------------------' 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 fe9c2b29..c7b85b00 100644 --- a/docker-mods/thelounge/root/etc/cont-init.d/98-themepark +++ b/docker-mods/thelounge/root/etc/cont-init.d/98-themepark @@ -34,7 +34,7 @@ if [[ -z ${TP_THEME} ]]; then fi # Adding stylesheets -if ! grep -q "${TP_DOMAIN}" /usr/lib/node_modules/thelounge/client/index.html.tpl; then +if ! grep -q "${TP_DOMAIN}/css/base" /usr/lib/node_modules/thelounge/client/index.html.tpl; then echo '---------------------------' echo '| Adding the stylesheet |' echo '---------------------------' 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 8089a359..2dfab788 100644 --- a/docker-mods/transmission/root/etc/cont-init.d/98-themepark +++ b/docker-mods/transmission/root/etc/cont-init.d/98-themepark @@ -34,7 +34,7 @@ if [[ -z ${TP_THEME} ]]; then fi # Adding stylesheets -if ! grep -q "${TP_DOMAIN}" /usr/share/transmission/web/index.html; then +if ! grep -q "${TP_DOMAIN}/css/base" /usr/share/transmission/web/index.html; then echo '---------------------------' echo '| Adding the stylesheet |' echo '---------------------------' diff --git a/docker-mods/vuetorrent/root/etc/cont-init.d/98-themepark b/docker-mods/vuetorrent/root/etc/cont-init.d/98-themepark index a9ea7ef4..f2e3daed 100644 --- a/docker-mods/vuetorrent/root/etc/cont-init.d/98-themepark +++ b/docker-mods/vuetorrent/root/etc/cont-init.d/98-themepark @@ -129,7 +129,7 @@ if [[ -z ${TP_HOTIO} ]]; then fi # Adding stylesheets -if ! grep -q "${TP_DOMAIN}" "${INDEX_FILEPATH}"; then +if ! grep -q "${TP_DOMAIN}/css/base" "${INDEX_FILEPATH}"; then echo '---------------------------------------------------------' echo '| Adding the stylesheet to /vuetorrent/public/index.html |' echo '---------------------------------------------------------'