Browse Source

Update 98-themepark

pull/240/head
GilbN 4 years ago
committed by GitHub
parent
commit
d899c0ac6c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      calibre-web/root/etc/cont-init.d/98-themepark

4
calibre-web/root/etc/cont-init.d/98-themepark

@ -4,7 +4,7 @@ echo '--------------------------------'
echo '| Calibre-web theme.park Mod |'
echo '--------------------------------'
# Display variables for troubleshooting
# Display variables for troubleshooting
echo -e "Variables set:\\n\
'TP_DOMAIN'=${TP_DOMAIN}\\n\
'TP_THEME'=${TP_THEME}\\n"
@ -28,4 +28,4 @@ if ! grep -q "${TP_DOMAIN}" /app/calibre-web/cps/templates/layout.html; then
sed -i "s/<\/head>/<link rel='stylesheet' href='https:\/\/${TP_DOMAIN}\/theme.park\/CSS\/themes\/calibreweb\/${TP_THEME}.css'><\/head> /g" /app/calibre-web/cps/templates/layout.html
printf 'Stylesheet set to %s\n' "${TP_THEME}
"
fi
fi

Loading…
Cancel
Save