1
0
mirror of https://github.com/gilbN/theme.park.git synced 2024-11-20 01:52:32 +01:00
This commit is contained in:
GilbN 2021-08-05 19:30:17 +00:00
parent 734c7318d7
commit 677cd08c8c
5 changed files with 4 additions and 5 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -38,6 +38,6 @@ if ! grep -q "${TP_DOMAIN}" "${APP_FILEPATH}"; then
echo '| Adding the stylesheet |' echo '| Adding the stylesheet |'
echo '---------------------------' echo '---------------------------'
sed -i "s/<\/head>/<link rel='stylesheet' href='https:\/\/${TP_DOMAIN}\/CSS\/themes\/nzbget\/nzbget-base.css'><\/head> /g" "${APP_FILEPATH}" sed -i "s/<\/head>/<link rel='stylesheet' href='https:\/\/${TP_DOMAIN}\/CSS\/themes\/nzbget\/nzbget-base.css'><\/head> /g" "${APP_FILEPATH}"
ed -i "s/<\/head>/<link rel='stylesheet' href='https:\/\/${TP_DOMAIN}\/CSS\/variables\/${TP_THEME}.css'><\/head> /g" "${APP_FILEPATH}" sed -i "s/<\/head>/<link rel='stylesheet' href='https:\/\/${TP_DOMAIN}\/CSS\/variables\/${TP_THEME}.css'><\/head> /g" "${APP_FILEPATH}"
printf 'Stylesheet set to %s\n' "${TP_THEME}" printf 'Stylesheet set to %s\n' "${TP_THEME}"
fi fi