summaryrefslogtreecommitdiffstats
path: root/perl-install/install/media.pm
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2020-07-17 19:37:57 +0000
committerPascal Terjan <pterjan@mageia.org>2020-07-17 19:37:57 +0000
commit6d2006a62df54d40c8e6349fb8acca09202919e0 (patch)
tree092966e38b53d335abb5f26e7f4e3e22d75cd2b4 /perl-install/install/media.pm
parent4b9fe1efea613bdf9ce331b25c158d40870dc905 (diff)
downloaddrakx-6d2006a62df54d40c8e6349fb8acca09202919e0.tar
drakx-6d2006a62df54d40c8e6349fb8acca09202919e0.tar.gz
drakx-6d2006a62df54d40c8e6349fb8acca09202919e0.tar.bz2
drakx-6d2006a62df54d40c8e6349fb8acca09202919e0.tar.xz
drakx-6d2006a62df54d40c8e6349fb8acca09202919e0.zip
Support loading auto_install file from https url
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 9f5fb34c1..4b9360045 100644
--- a/perl-install/install/media.pm
+++ b/perl-install/install/media.pm
@@ -336,7 +336,7 @@ sub getFile_ {
sub get_file_and_size {
my ($phys_m, $f) = @_;
- if ($f =~ m|^http://|) {
+ if ($f =~ m|^https?://|) {
require install::http;
install::http::get_file_and_size($f);
} elsif (member($phys_m->{method}, qw(ftp http))) {