GilbN
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
3 deletions
-
readarr/root/etc/cont-init.d/98-themepark
|
|
@ -42,6 +42,9 @@ if ! grep -q "${TP_DOMAIN}" "${APP_FILEPATH}"; then |
|
|
|
echo '---------------------------' |
|
|
|
sed -i "s/<\/head>/<link rel='stylesheet' href='https:\/\/${TP_DOMAIN}\/CSS\/themes\/readarr\/${TP_THEME}.css'><\/head> /g" "${APP_FILEPATH}" |
|
|
|
sed -i "s/<\/head>/<link rel='stylesheet' href='https:\/\/${TP_DOMAIN}\/CSS\/themes\/readarr\/${TP_THEME}.css'><\/head> /g" "${LOGIN_FILEPATH}" |
|
|
|
printf 'Stylesheet set to %s\n' "${TP_THEME} |
|
|
|
" |
|
|
|
fi |
|
|
|
printf 'Stylesheet set to %s\n' "${TP_THEME}" |
|
|
|
. if [[ -n ${TP_ADDON} ]]; then |
|
|
|
sed -i "s/<\/head>/<link rel='stylesheet' href='https:\/\/${TP_DOMAIN}\/CSS\/addons\/readarr\/${TP_ADDON}.css'><\/head> /g" "${APP_FILEPATH}" |
|
|
|
printf 'Added custom addon: %s\n\n' "${TP_ADDON}" |
|
|
|
fi |
|
|
|
fi |
|
|
|