diff options
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/select.pm | 4 | ||||
-rw-r--r-- | urpm/util.pm | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/urpm/select.pm b/urpm/select.pm index c2c3fe48..1e462a5e 100644 --- a/urpm/select.pm +++ b/urpm/select.pm @@ -4,7 +4,7 @@ package urpm::select; use strict; use urpm::msg; -use urpm::util qw(any intersection member min partition uniq); +use urpm::util qw(any formatList intersection member min partition uniq); use urpm::sys; use URPM; @@ -220,7 +220,7 @@ sub _search_packages { $urpm->{error}(N("No package named %s", $v)); values(%l) != 0 and $urpm->{error}( N("The following packages contain %s: %s", - $v, urpm::util::formatList(4, sort { $a cmp $b } keys %l)) . "\n" . + $v, formatList(4, sort { $a cmp $b } keys %l)) . "\n" . N("You should use \"-a\" to use all of them") ); $result = 0; diff --git a/urpm/util.pm b/urpm/util.pm index d4aaa2ea..ca828cdc 100644 --- a/urpm/util.pm +++ b/urpm/util.pm @@ -18,6 +18,7 @@ our @EXPORT = qw(add2hash_ file2absolute_file file_size find + formatList intersection max member |