1
0
Fork 0

Fix show command when no package is found

pull/8535/head
Jordi Boggiano 2020-01-17 14:51:38 +01:00
parent 8bb472a608
commit 98860b8619
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 1 deletions

View File

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