summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--urpm.pm2
-rw-r--r--urpmi.spec1
2 files changed, 2 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index f762a3bc..b4fbc4ff 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -2066,7 +2066,7 @@ sub search_packages {
$urpm->{error}(N("no package named %s", $_));
$result = 0;
} elsif (values(%l) > 1 && !$options{all}) {
- $urpm->{error}(N("The following packages contain %s: %s", $_, join(' ', keys %l)));
+ $urpm->{error}(N("The following packages contain %s: %s", $_, "\n".join("\n", sort { $a cmp $b } keys %l)));
$result = 0;
} else {
foreach (values %l) {
diff --git a/urpmi.spec b/urpmi.spec
index 82bf09e2..8455234d 100644
--- a/urpmi.spec
+++ b/urpmi.spec
@@ -203,6 +203,7 @@ $urpm->update_media;
- added --sortmedia option to urpmi and urpmq.
- improved MD5SUM file for hdlist or synthesis management, added
md5sum in /etc/urpmi/urpmi.cfg for each media when needed.
+- improved output when multiple package are found when searching.
* Mon Apr 14 2003 François Pons <fpons@mandrakesoft.com> 4.3-1mdk
- avoid scanning all urpmi cache for checking unused rpm files.