1
0
Fork 0

Do not suggest packages that were installed

pull/632/head
Igor Wiedler 2012-04-27 14:40:08 +02:00
parent 8ff497ac6f
commit 1e23354666
1 changed files with 3 additions and 1 deletions

View File

@ -154,7 +154,9 @@ class Installer
// output suggestions
foreach ($this->suggestedPackages as $suggestion) {
$this->io->write($suggestion['source'].' suggests installing '.$suggestion['target'].' ('.$suggestion['reason'].')');
if (!$installedRepo->findPackages($suggestion['target'])) {
$this->io->write($suggestion['source'].' suggests installing '.$suggestion['target'].' ('.$suggestion['reason'].')');
}
}
if (!$this->dryRun) {