1
0
Fork 0

Fix PlatformRepo packages not being seen as installed

pull/77/merge
Jordi Boggiano 2011-10-30 22:09:00 +01:00
parent 8aaac35ca1
commit 9108a3af7f
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ EOT
// TODO this belongs in the solver, but this will do for now to report top-level deps missing at least // TODO this belongs in the solver, but this will do for now to report top-level deps missing at least
foreach ($request->getJobs() as $job) { foreach ($request->getJobs() as $job) {
if ('install' === $job['cmd']) { if ('install' === $job['cmd']) {
foreach ($localRepo->getPackages() as $package) { foreach ($installedRepo->getPackages() as $package) {
if ($job['packageName'] === $package->getName()) { if ($job['packageName'] === $package->getName()) {
continue 2; continue 2;
} }