aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-02-22 21:00:40 +0000
committerThierry Vignaud <tv@mandriva.org>2008-02-22 21:00:40 +0000
commit0ee142a69df505b16bbf90e8cc52c1e8d21ac71d (patch)
tree9b152f0c610f56d29f7f0f59f68007641251050c /rpmdrake.pm
parent2cc2b2b28ad27317eea1a49529878a1da4c931a7 (diff)
downloadrpmdrake-0ee142a69df505b16bbf90e8cc52c1e8d21ac71d.tar
rpmdrake-0ee142a69df505b16bbf90e8cc52c1e8d21ac71d.tar.gz
rpmdrake-0ee142a69df505b16bbf90e8cc52c1e8d21ac71d.tar.bz2
rpmdrake-0ee142a69df505b16bbf90e8cc52c1e8d21ac71d.tar.xz
rpmdrake-0ee142a69df505b16bbf90e8cc52c1e8d21ac71d.zip
(mirrors) lazy load mirror
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r--rpmdrake.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index 27da6150..dc7ea1b6 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -501,7 +501,7 @@ sub compat_arch_for_updates($) {
sub mirrors {
my ($urpm, $want_base_distro) = @_;
my $cachedir = $urpm->{cachedir} || '/root';
- use mirror;
+ require mirror;
mirror::register_downloader(sub {
my ($url) = @_;
my $file = $url;