Skip to content

Commit e33f5d4

Browse files
committed
Fix install in Roundcubemail as root package
1 parent 04ae6b2 commit e33f5d4

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/ExtensionInstaller.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@ abstract class ExtensionInstaller extends LibraryInstaller
2626

2727
protected function getRoundcubemailInstallPath(): string
2828
{
29+
$rootPackage = $this->composer->getPackage();
30+
if ($rootPackage->getName() === 'roundcube/roundcubemail') {
31+
$this->initializeVendorDir();
32+
33+
return dirname($this->vendorDir);
34+
}
35+
2936
$roundcubemailPackage = $this->composer
3037
->getRepositoryManager()
3138
->findPackage('roundcube/roundcubemail', '*');

0 commit comments

Comments
 (0)