1
0
Fork 0

Fix show command

pull/7904/head
Jordi Boggiano 2018-11-28 09:36:05 +01:00
parent ed65625126
commit e67030076a
1 changed files with 1 additions and 1 deletions

View File

@ -553,7 +553,7 @@ EOT
$matches[$index] = $package->getId(); $matches[$index] = $package->getId();
} }
$pool = $repositorySet->createPool(); $pool = $repositorySet->createPoolForPackage($package->getName());
// select preferred package according to policy rules // select preferred package according to policy rules
if (!$matchedPackage && $matches && $preferred = $policy->selectPreferredPackages($pool, array(), $matches)) { if (!$matchedPackage && $matches && $preferred = $policy->selectPreferredPackages($pool, array(), $matches)) {