aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
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;