Use alternative method for applying admin css.
This commit is contained in:
parent
7f0d342af2
commit
bff8733018
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ if [[ $1 != "-bash" ]]; then
|
|||
# Inject custom Blueprint css into Pterodactyl's admin panel.
|
||||
log_bright "[INFO] updating admin css";
|
||||
sed -i "s!@import url(/assets/extensions/blueprint/blueprint.style.css);\n/* admin.css */!!g" /var/www/$FOLDER/public/themes/pterodactyl/css/pterodactyl.css;
|
||||
sed -i '1s/^/@import url(/assets/extensions/blueprint/blueprint.style.css);\n/* admin.css */\n/' /var/www/$FOLDER/public/themes/pterodactyl/css/pterodactyl.css;
|
||||
sed -i '1i@import url(/assets/extensions/blueprint/blueprint.style.css);\n/* admin.css */' /var/www/$FOLDER/public/themes/pterodactyl/css/pterodactyl.css;
|
||||
|
||||
# Clear view cache.
|
||||
log_bright "[INFO] php artisan view:clear";
|
||||
|
|
Loading…
Reference in a new issue