mirror of
https://github.com/gilbN/theme.park.git
synced 2024-11-20 01:52:32 +01:00
sed body only
This commit is contained in:
parent
7b3bda2292
commit
bb210ad980
@ -79,8 +79,6 @@ fi
|
||||
sed_file(){
|
||||
sed -i "s/<\/body>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/qbittorrent\/qbittorrent-base.css'><\/body> /g" $1
|
||||
sed -i "s/<\/body>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><\/body> /g" $1
|
||||
sed -i "s/<noscript>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/qbittorrent\/qbittorrent-base.css'><noscript> /g" $1
|
||||
sed -i "s/<noscript>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><noscript> /g" $1
|
||||
printf 'Stylesheet set to %s on %s\n\n' "${TP_THEME}" "$1"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user