From 6d2006a62df54d40c8e6349fb8acca09202919e0 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Fri, 17 Jul 2020 19:37:57 +0000 Subject: Support loading auto_install file from https url --- perl-install/install/NEWS | 1 + perl-install/install/media.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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))) { -- cgit v1.2.1