mirror of
https://github.com/gilbN/theme.park.git
synced 2024-08-16 15:09:39 +02:00
Changing stylesheet fix
This commit is contained in:
parent
de3161f4e7
commit
846203773a
@ -75,7 +75,7 @@ else
|
||||
fi
|
||||
|
||||
# Changing stylesheet
|
||||
if ! grep -q ${TYPE}/${THEME} ${LOGIN_PAGE}; then
|
||||
if ! grep -q ${TYPE}"/"${THEME} ${LOGIN_PAGE}; then
|
||||
echo "Changing existing custom stylesheet.."
|
||||
sed -i "/<link data-tp='theme' rel='stylesheet' href='${SCHEME}:\/\/${DOMAIN}\/css\/addons\/unraid\/login-page/c <link data-tp='theme' rel='stylesheet' href='${SCHEME}://${DOMAIN}/css/addons/unraid/login-page/${TYPE}/${THEME}'>" ${LOGIN_PAGE}
|
||||
sed -i "/<link data-tp='base' rel='stylesheet' href='${SCHEME}:\/\/${DOMAIN}\/css\/addons\/unraid\/login-page/c <link data-tp='base' rel='stylesheet' href='${SCHEME}://${DOMAIN}/css/addons/unraid/login-page/${TYPE}/${TYPE}-base.css'>" ${LOGIN_PAGE}
|
||||
|
Loading…
Reference in New Issue
Block a user