1
0
Fork 0

PoolBuilder: Do not load any alternatives to pkgs replaced by fixed pkg

pull/8850/head
Nils Adermann 2020-04-29 23:02:37 +02:00 committed by Jordi Boggiano
parent 85ea29d241
commit 5dd4b456b9
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ class PoolBuilder
// replace means conflict, so if a fixed package replaces a name, no need to load that one, packages would conflict anyways // replace means conflict, so if a fixed package replaces a name, no need to load that one, packages would conflict anyways
foreach ($package->getReplaces() as $link) { foreach ($package->getReplaces() as $link) {
$this->loadedNames[$link->getTarget()] = $link->getConstraint(); $this->loadedNames[$link->getTarget()] = new EmptyConstraint();
} }
// TODO in how far can we do the above for conflicts? It's more tricky cause conflicts can be limited to // TODO in how far can we do the above for conflicts? It's more tricky cause conflicts can be limited to