1
0
Fork 0

Fix using show command to show platform packages, and allow using it to show replacers too by using the replaced name, fixes #7628

pull/9291/head
Jordi Boggiano 2020-10-14 17:16:46 +02:00
parent 8e888bec78
commit 743d551399
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 1 deletions

View File

@ -584,7 +584,7 @@ EOT
$matchedPackage = null; $matchedPackage = null;
$versions = array(); $versions = array();
$pool = $repositorySet->createPoolForPackage($name); $pool = $repositorySet->createPoolWithAllPackages();
$matches = $pool->whatProvides($name, $constraint); $matches = $pool->whatProvides($name, $constraint);
foreach ($matches as $index => $package) { foreach ($matches as $index => $package) {
// select an exact match if it is in the installed repo and no specific version was required // select an exact match if it is in the installed repo and no specific version was required