diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-03-08 15:03:03 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-03-08 15:03:03 +0000 |
commit | 37d87d8e158fa78e7df0a3a100707d7daf17cfc9 (patch) | |
tree | e45c9ea926d6fae4e796331608b5a06d19c96b5a | |
parent | c2586371050b51d9fdcb45b2dd1e1ef9a83c2639 (diff) | |
download | urpmi-37d87d8e158fa78e7df0a3a100707d7daf17cfc9.tar urpmi-37d87d8e158fa78e7df0a3a100707d7daf17cfc9.tar.gz urpmi-37d87d8e158fa78e7df0a3a100707d7daf17cfc9.tar.bz2 urpmi-37d87d8e158fa78e7df0a3a100707d7daf17cfc9.tar.xz urpmi-37d87d8e158fa78e7df0a3a100707d7daf17cfc9.zip |
Easier to read layout when explaining reasons for removal
-rw-r--r-- | urpm.pm | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3265,7 +3265,7 @@ sub translate_why_removed { and $s .= N("in order to install %s", $frompkg ? scalar $frompkg->fullname : $from); /unsatisfied/ and do { foreach (@$whyv) { - $s and $s .= ', '; + $s and $s .= ",\n "; if (/([^\[\s]*)(?:\[\*\])?(?:\[|\s+)([^\]]*)\]?$/ && $2 ne '*') { $s .= N("due to unsatisfied %s", "$1 $2"); } else { @@ -3277,7 +3277,7 @@ sub translate_why_removed { /unrequested/ and $s .= N("unrequested"); } #- now insert the reason if available. - $_ . ($s ? " ($s)" : ''); + $_ . ($s ? "\n ($s)" : ''); } @l; } |