Only create alias package in repositories on the fly if necessary, fixes #793
parent
9346d4a501
commit
4eb5f73718
|
@ -105,7 +105,10 @@ class ArrayRepository implements RepositoryInterface
|
||||||
|
|
||||||
// create alias package on the fly if needed
|
// create alias package on the fly if needed
|
||||||
if ($package->getAlias()) {
|
if ($package->getAlias()) {
|
||||||
$this->addPackage($this->createAliasPackage($package));
|
$alias = $this->createAliasPackage($package);
|
||||||
|
if (!$this->hasPackage($alias)) {
|
||||||
|
$this->addPackage($alias);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue