summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-11-24 16:45:10 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-11-24 16:45:10 +0000
commit96a44ec69287273eaa346a8ebc3dafea651a4d1e (patch)
tree12a8a195e6599ef0b2db091bf8e82aa5995220ba /perl-install/install_any.pm
parent851ca8f056135ff7edd9c19705ba2a4870887775 (diff)
downloaddrakx-backup-do-not-use-96a44ec69287273eaa346a8ebc3dafea651a4d1e.tar
drakx-backup-do-not-use-96a44ec69287273eaa346a8ebc3dafea651a4d1e.tar.gz
drakx-backup-do-not-use-96a44ec69287273eaa346a8ebc3dafea651a4d1e.tar.bz2
drakx-backup-do-not-use-96a44ec69287273eaa346a8ebc3dafea651a4d1e.tar.xz
drakx-backup-do-not-use-96a44ec69287273eaa346a8ebc3dafea651a4d1e.zip
no_comment
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm3
1 files changed, 3 insertions, 0 deletions
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;