1
0
mirror of https://github.com/gilbN/theme.park.git synced 2024-10-03 22:17:08 +02:00

fix transmission log message

This commit is contained in:
Lex Nastin 2023-08-08 21:16:00 +01:00 committed by GilbN
parent 8b8406f310
commit a1ad36fd47

View File

@ -43,8 +43,8 @@ if ! grep -q "${TP_DOMAIN}/css/base" /usr/share/transmission/web/index.html; the
echo '---------------------------'
echo '| Adding the stylesheet |'
echo '---------------------------'
echo 'There may be 2 missing file errors right now. If there\'s only 2 you may safely'
echo 'ignore them as they\'re there for backwards compatability. If there are more'
echo 'There may be 2 missing file errors right now. If there''s only 2 you may safely'
echo 'ignore them as they''re there for backwards compatability. If there are more'
echo 'errors than that, something went wrong.'
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/transmission\/transmission-base.css'><\/head> /g" /usr/share/transmission/web/index.html
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><\/head> /g" /usr/share/transmission/web/index.html