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 fe5df1d8..82484143 100644 --- a/docker-mods/qbittorrent/root/etc/cont-init.d/98-themepark +++ b/docker-mods/qbittorrent/root/etc/cont-init.d/98-themepark @@ -90,9 +90,9 @@ if [[ ! -d /themepark ]]; then fi sed_file(){ - sed -i "s/<\/body>/<\/body> /g" $1 + sed -i "s/<\/body>/<\/body> /g" $1 sed -i "s/<\/body>/<\/body> /g" $1 - printf 'Stylesheet set to %s on %s\n\n' "${TP_THEME}" "$1" + printf 'Stylesheet set to %s on %s\n\n' "${TP_THEME}" "$1" } # Adding stylesheets @@ -104,10 +104,10 @@ if ! grep -q "${TP_DOMAIN}/css/base" /themepark/public/index.html; then fi 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 - done + find /themepark/private -type f -iname *.html | while read fname + do + sed_file $fname + done fi if ! grep -q "WebUI\\\RootFolder" "${APP_FILEPATH}"; then