From 37d87d8e158fa78e7df0a3a100707d7daf17cfc9 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Wed, 8 Mar 2006 15:03:03 +0000 Subject: Easier to read layout when explaining reasons for removal --- urpm.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'urpm.pm') 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; } -- cgit v1.2.1