summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-rw-r--r--urpm/download.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm/download.pm b/urpm/download.pm
index 6737db36..df4f9e7c 100644
--- a/urpm/download.pm
+++ b/urpm/download.pm
@@ -806,6 +806,7 @@ sub _sync_webfetch_raw {
#- currently ftp and http protocols are managed by curl or wget,
#- ssh and rsync protocols are managed by rsync *AND* ssh.
foreach (@$files) {
+ require urpm;
my $proto = urpm::protocol_from_url($_) or die N("unknown protocol defined for %s", $_);
push @{$files{$proto}}, $_;
}