diff options
Diffstat (limited to 'grpmi/curl_download/curl_download.pm')
-rw-r--r-- | grpmi/curl_download/curl_download.pm | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/grpmi/curl_download/curl_download.pm b/grpmi/curl_download/curl_download.pm index f24506a9..36d49017 100644 --- a/grpmi/curl_download/curl_download.pm +++ b/grpmi/curl_download/curl_download.pm @@ -3,13 +3,8 @@ package curl_download; use strict; use urpm::download; -require DynaLoader; - -our @ISA = qw(DynaLoader); our $VERSION = '1.2'; -bootstrap curl_download $VERSION; - sub readproxy (;$) { my $proxy = get_proxy($_[0]); ($proxy->{http_proxy} || $proxy->{ftp_proxy} || '', @@ -25,10 +20,4 @@ sub writeproxy { dump_proxy_config(); } -sub download { - my ($url, $location, $downloadprogress_callback) = @_; - - download_real($url, $location, $downloadprogress_callback, readproxy()); -} - 1; |