Small fix

This commit is contained in:
Sergio Brighenti 2018-10-13 15:25:08 +02:00
parent 632b2df039
commit f97fb48c33

View file

@ -15,7 +15,7 @@ if (!isset($argv[1])) {
}
foreach ($json->themes as $theme) {
if (isset($argv[1]) && $argv[1] === mb_strtolower($theme->name)) {
if (isset($argv[1]) && strtolower($argv[1]) === strtolower($theme->name)) {
file_put_contents('static/bootstrap/css/bootstrap.min.css', file_get_contents($theme->cssMin));
echo "Installed theme {$theme->name}." . PHP_EOL;
break;