From 96a44ec69287273eaa346a8ebc3dafea651a4d1e Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 24 Nov 1999 16:45:10 +0000 Subject: no_comment --- perl-install/install_any.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'perl-install/install_any.pm') diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index 040d36baf..e08e121aa 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -45,6 +45,9 @@ sub getFile($) { if ($::o->{method} && $::o->{method} eq "ftp") { require 'ftp.pm'; *install_any::getFile = \&ftp::getFile; + } elsif ($::o->{method} && $::o->{method} eq "http") { + require 'http.pm'; + *install_any::getFile = \&http::getFile; } else { *install_any::getFile = sub($) { open getFile, "/tmp/rhimage/" . relGetFile($_[0]) or return; -- cgit v1.2.1