Merge pull request #3484 from stof/fix_rule

Fix the display of rules
main
Jordi Boggiano 10 years ago
commit 947c1fbabb

@ -576,11 +576,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