Fix the display of rules

Close #3483
main
Christophe Coevoet 10 years ago
parent 91dd999eb6
commit 7fd9341464

@ -574,11 +574,11 @@ class Installer
if ($reason instanceof Rule) {
switch ($reason->getReason()) {
case Rule::RULE_JOB_INSTALL:
$this->io->write(' REASON: Required by root: '.$reason->getPrettyString());
$this->io->write(' REASON: Required by root: '.$reason->getPrettyString($pool));
$this->io->write('');
break;
case Rule::RULE_PACKAGE_REQUIRES:
$this->io->write(' REASON: '.$reason->getPrettyString());
$this->io->write(' REASON: '.$reason->getPrettyString($pool));
$this->io->write('');
break;
}

Loading…
Cancel
Save