From 3022b8519b05d0409dbd92011efc3016ce40cef5 Mon Sep 17 00:00:00 2001 From: owine Date: Sun, 4 Sep 2022 11:10:33 -0500 Subject: [PATCH] Fix librespeed Docker mod paths (#429) * Fix librespeed Docker mod paths * Fix s6 v3 mod --- docker-mods/librespeed/root/etc/cont-init.d/98-themepark | 4 ++-- .../root/etc/s6-overlay/s6-rc.d/init-mod-themepark/run | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 ebcd5445..6a46fa20 100644 --- a/docker-mods/librespeed/root/etc/cont-init.d/98-themepark +++ b/docker-mods/librespeed/root/etc/cont-init.d/98-themepark @@ -43,8 +43,8 @@ if ! grep -q "${TP_DOMAIN}/css/base" /app/www/public/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" /app/www/public/index.html + sed -i "s/<\/head>/<\/head> /g" /app/www/public/index.html printf 'Stylesheet set to %s\n' "${TP_THEME} " fi \ No newline at end of file diff --git a/docker-mods/librespeed/root/etc/s6-overlay/s6-rc.d/init-mod-themepark/run b/docker-mods/librespeed/root/etc/s6-overlay/s6-rc.d/init-mod-themepark/run index ebcd5445..6a46fa20 100755 --- a/docker-mods/librespeed/root/etc/s6-overlay/s6-rc.d/init-mod-themepark/run +++ b/docker-mods/librespeed/root/etc/s6-overlay/s6-rc.d/init-mod-themepark/run @@ -43,8 +43,8 @@ if ! grep -q "${TP_DOMAIN}/css/base" /app/www/public/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" /app/www/public/index.html + sed -i "s/<\/head>/<\/head> /g" /app/www/public/index.html printf 'Stylesheet set to %s\n' "${TP_THEME} " fi \ No newline at end of file