diff options
author | Thierry Vignaud <tv@mageia.org> | 2013-02-25 17:56:52 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2013-02-25 17:56:52 +0000 |
commit | a03c66a43c9a0e7d14625310ecdcd67ca8b4369e (patch) | |
tree | 453fcf39acbffd9fed5ad09ec8b1f7a5fd6978e7 | |
parent | 7cb2f93c1264a165caff354cef2b06f8e63491dc (diff) | |
download | urpmi-a03c66a43c9a0e7d14625310ecdcd67ca8b4369e.tar urpmi-a03c66a43c9a0e7d14625310ecdcd67ca8b4369e.tar.gz urpmi-a03c66a43c9a0e7d14625310ecdcd67ca8b4369e.tar.bz2 urpmi-a03c66a43c9a0e7d14625310ecdcd67ca8b4369e.tar.xz urpmi-a03c66a43c9a0e7d14625310ecdcd67ca8b4369e.zip |
simplify
-rwxr-xr-x | urpmi | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -382,7 +382,7 @@ my $rpm_lock = !$env && !$options{nolock} && urpm::lock::rpm_db($urpm, 'exclusiv my $search_result = ''; if (@names) { $search_result = urpm::select::search_packages($urpm, - \%requested, [ @names ], + \%requested, \@names, all => $all, use_provides => $use_provides, fuzzy => $urpm->{options}{fuzzy}, @@ -395,7 +395,7 @@ if (@names) { } } if (@src_names) { - $search_result = urpm::select::search_packages($urpm, \%requested, [ @src_names ], + $search_result = urpm::select::search_packages($urpm, \%requested, \@src_names, all => $all, use_provides => $use_provides, fuzzy => $urpm->{options}{fuzzy}, |