summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-09-01 15:50:33 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-09-01 15:50:33 +0000
commit8021edb8bab8605b3398a510c268c1378a781524 (patch)
tree6b29168541b900109829924d342c7e1a828eb515 /urpm
parentaf639cbe03b7cf04644d4ceea6d4386548e3d486 (diff)
downloadurpmi-8021edb8bab8605b3398a510c268c1378a781524.tar
urpmi-8021edb8bab8605b3398a510c268c1378a781524.tar.gz
urpmi-8021edb8bab8605b3398a510c268c1378a781524.tar.bz2
urpmi-8021edb8bab8605b3398a510c268c1378a781524.tar.xz
urpmi-8021edb8bab8605b3398a510c268c1378a781524.zip
help perl_checker
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}}, $_;
}