summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-03-08 15:03:03 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-03-08 15:03:03 +0000
commit37d87d8e158fa78e7df0a3a100707d7daf17cfc9 (patch)
treee45c9ea926d6fae4e796331608b5a06d19c96b5a /urpm.pm
parentc2586371050b51d9fdcb45b2dd1e1ef9a83c2639 (diff)
downloadurpmi-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
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm.pm b/urpm.pm
index 7eb5ce6b..c93c8fb5 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -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;
}