summaryrefslogtreecommitdiffstats
path: root/perl-install/install/media.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-06-19 10:56:09 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-06-19 10:56:09 +0000
commit938983fb49d353314ad046b9f2ccc3c7ce6711c5 (patch)
treee03f32b4af25f46ec86c6a0d7d83ec4edcc956ab /perl-install/install/media.pm
parent71a4ec0bc856e7d9c97edba06b990a962c8ade08 (diff)
downloaddrakx-938983fb49d353314ad046b9f2ccc3c7ce6711c5.tar
drakx-938983fb49d353314ad046b9f2ccc3c7ce6711c5.tar.gz
drakx-938983fb49d353314ad046b9f2ccc3c7ce6711c5.tar.bz2
drakx-938983fb49d353314ad046b9f2ccc3c7ce6711c5.tar.xz
drakx-938983fb49d353314ad046b9f2ccc3c7ce6711c5.zip
- auto_install: allow "automatic=met:http,ser:server,dir:/pub/dir
kickstart=/pub/auto_inst.cfg" to get http://server/pub/auto_inst.cfg (#31474)
Diffstat (limited to 'perl-install/install/media.pm')
-rw-r--r--perl-install/install/media.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/media.pm b/perl-install/install/media.pm
index 8944cff34..4468c7d53 100644
--- a/perl-install/install/media.pm
+++ b/perl-install/install/media.pm
@@ -368,7 +368,7 @@ sub get_file_and_size {
install::ftp::get_file_and_size($f, $phys_m->{url});
} elsif ($phys_m->{method} eq "http") {
require install::http;
- install::http::get_file_and_size("$phys_m->{url}/$f");
+ install::http::get_file_and_size_($f, $phys_m->{url});
} elsif ($f =~ m!^/!) {
open_file_and_size($f);
} elsif ($postinstall_rpms && -e "$postinstall_rpms/$f") {