From 8021edb8bab8605b3398a510c268c1378a781524 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 1 Sep 2008 15:50:33 +0000 Subject: help perl_checker --- urpm/download.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'urpm') 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}}, $_; } -- cgit v1.2.1