summaryrefslogtreecommitdiffstats
path: root/perl-install
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
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')
-rw-r--r--perl-install/install/NEWS1
-rw-r--r--perl-install/install/media.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 1666b1917..e28f5303f 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,4 +1,5 @@
- recognize new kernel 5.5 - 5.7 drivers
+- support loading auto_install file from https url
Version 18.31 - 18 June 2020
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))) {