diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-09-19 10:54:45 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-09-19 10:54:45 +0000 |
commit | e6153a16f0662d5308661bd6937d25120b364405 (patch) | |
tree | ede70635247996f5aeb747a4c05c75dada3104ec /rpmdrake.pm | |
parent | 06a10f6fce93758ce5cd268edd42584d30fcf435 (diff) | |
download | rpmdrake-e6153a16f0662d5308661bd6937d25120b364405.tar rpmdrake-e6153a16f0662d5308661bd6937d25120b364405.tar.gz rpmdrake-e6153a16f0662d5308661bd6937d25120b364405.tar.bz2 rpmdrake-e6153a16f0662d5308661bd6937d25120b364405.tar.xz rpmdrake-e6153a16f0662d5308661bd6937d25120b364405.zip |
(make_url_mirror) kill old code now unused and move there management of missing media.cfg for updates
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r-- | rpmdrake.pm | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm index 833221b6..0a96b685 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -612,13 +612,8 @@ by Mandriva Linux Official Updates.")), %options sub make_url_mirror { my ($mirror) = @_; - if ($mirror =~ m!/(?:RPMS|media/main)/?\Z!) { - "$mirror/"; - } else { - my ($class, $release) = $mandrake_release =~ /(\S+)\s+release\s+(\S+)/; - $class !~ /linux/i and $release = lc($class) . "/$release"; #- handle subdirectory for corporate/clustering/etc - "$mirror/$release/main_updates/"; - } + # because updates media do not provide media.cfg yet + $mirror . '/media/main/updates' } sub make_url_mirror_dist { |