GilbN
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
calibre-web/root/etc/cont-init.d/98-themepark
|
@ -4,7 +4,7 @@ echo '--------------------------------' |
|
|
echo '| Calibre-web theme.park Mod |' |
|
|
echo '| Calibre-web theme.park Mod |' |
|
|
echo '--------------------------------' |
|
|
echo '--------------------------------' |
|
|
|
|
|
|
|
|
# Display variables for troubleshooting |
|
|
# Display variables for troubleshooting |
|
|
echo -e "Variables set:\\n\ |
|
|
echo -e "Variables set:\\n\ |
|
|
'TP_DOMAIN'=${TP_DOMAIN}\\n\ |
|
|
'TP_DOMAIN'=${TP_DOMAIN}\\n\ |
|
|
'TP_THEME'=${TP_THEME}\\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 |
|
|
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} |
|
|
printf 'Stylesheet set to %s\n' "${TP_THEME} |
|
|
" |
|
|
" |
|
|
fi |
|
|
fi |
|
|