|
|
|
@ -40,17 +40,12 @@ class AuthserverInstaller extends LibraryInstaller |
|
|
|
|
public function __construct(IOInterface $io, Composer $composer) |
|
|
|
|
{ |
|
|
|
|
parent::__construct($io, $composer); |
|
|
|
|
if($composer->getPackage()->getType() === 'project') |
|
|
|
|
$this->vendorDir = 'plugins'; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public function supports($packageType) |
|
|
|
|
{ |
|
|
|
|
return $packageType === 'authserver-plugin'; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public function getInstallPath(PackageInterface $package) |
|
|
|
|
{ |
|
|
|
|
return parent::getInstallPath($package); // TODO: Change the autogenerated stub |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|