Skip to content

Commit c5bef56

Browse files
author
Raphaël Droz
authored
Plugins containing "theme" should to be treated as themes
Sommerregen/grav-plugin-themer#6 `./bin/gpm -vvv direct-install https://github.com/Sommerregen/grav-plugin-themer/archive/v1.1.0.zip`
1 parent 58da1cd commit c5bef56

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/src/Grav/Common/GPM/GPM.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ public static function getPackageType($source)
575575

576576
// either theme or plugin
577577
$name = basename($source);
578-
if (Utils::contains($name, 'theme')) {
578+
if (Utils::contains($name, 'theme-')) {
579579
return 'theme';
580580
}
581581
if (Utils::contains($name, 'plugin')) {

0 commit comments

Comments
 (0)