diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-09-03 13:28:54 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-09-03 13:28:54 +0000 |
commit | 20e09e364291f0b52f751c736282a790aad7442c (patch) | |
tree | ce25a9c88fc93bddc501d2cbd564d5c694fbcb3f /urpm.pm | |
parent | a4441531ab66d5b9f73309da3547c112bb6c0f66 (diff) | |
download | urpmi-20e09e364291f0b52f751c736282a790aad7442c.tar urpmi-20e09e364291f0b52f751c736282a790aad7442c.tar.gz urpmi-20e09e364291f0b52f751c736282a790aad7442c.tar.bz2 urpmi-20e09e364291f0b52f751c736282a790aad7442c.tar.xz urpmi-20e09e364291f0b52f751c736282a790aad7442c.zip |
- create urpm::blist_to_filenames()
- use it and sync_rel()
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -210,6 +210,10 @@ sub blist_to_urls { my ($blist) = @_; _blist_pkg_to_urls($blist, values %{$blist->{pkgs}}); } +sub blist_to_filenames { + my ($blist) = @_; + map { $_->filename } values %{$blist->{pkgs}}; +} sub protocol_from_url { my ($url) = @_; |