diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-07-08 19:10:59 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-07-08 19:10:59 +0000 |
commit | c6d6879b8c225706a484ff45ffd48007e03e3bf3 (patch) | |
tree | 8c44b4fd934866f9461252548cf7c890e8ff77f5 /urpm.pm | |
parent | 0f90a56a1640ffbbb905c9881e9897602d1cb607 (diff) | |
download | urpmi-c6d6879b8c225706a484ff45ffd48007e03e3bf3.tar urpmi-c6d6879b8c225706a484ff45ffd48007e03e3bf3.tar.gz urpmi-c6d6879b8c225706a484ff45ffd48007e03e3bf3.tar.bz2 urpmi-c6d6879b8c225706a484ff45ffd48007e03e3bf3.tar.xz urpmi-c6d6879b8c225706a484ff45ffd48007e03e3bf3.zip |
create
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -196,6 +196,11 @@ sub tune_rpm { } } +sub blist_pkg_to_url { + my ($blist, $pkg) = @_; + $blist->{medium}->{url} . '/' . $pkg->filename; +} + sub protocol_from_url { my ($url) = @_; $url =~ m!^(\w+)(_[^:]*)?:! && $1; |