diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-07-08 19:29:59 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-07-08 19:29:59 +0000 |
commit | 9e3ac6ad068fc76b85ab0360fa3c7cac0a59e377 (patch) | |
tree | 4c83a87e03b2222c27200cdfce0e8bc37cfa812f | |
parent | 7608251f9c8c3e0d48f29cfa3e6f1444b9e56ee4 (diff) | |
download | urpmi-9e3ac6ad068fc76b85ab0360fa3c7cac0a59e377.tar urpmi-9e3ac6ad068fc76b85ab0360fa3c7cac0a59e377.tar.gz urpmi-9e3ac6ad068fc76b85ab0360fa3c7cac0a59e377.tar.bz2 urpmi-9e3ac6ad068fc76b85ab0360fa3c7cac0a59e377.tar.xz urpmi-9e3ac6ad068fc76b85ab0360fa3c7cac0a59e377.zip |
simplify using urpm::blist_to_urls()
-rwxr-xr-x | urpmq | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -477,9 +477,7 @@ if ($options{list_aliases}) { } } elsif ($options{sources}) { print "$_\n" foreach values %$local_sources; - foreach my $blist (@$blists) { - print urpm::blist_pkg_to_url($blist, $_), "\n" foreach values %{$blist->{pkgs}}; - } + print "$_\n" foreach map { urpm::blist_to_urls($_) } @$blists; } exit 0; } elsif ($options{summary}) { |