From 535b7c28eac6c4c85118752c923c05a1bb21947c Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Thu, 10 Dec 2020 13:59:38 +0000 Subject: Support use of https in repository URLs. --- lib/MGA/DrakISO/BuildMedia.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/MGA/DrakISO/BuildMedia.pm') diff --git a/lib/MGA/DrakISO/BuildMedia.pm b/lib/MGA/DrakISO/BuildMedia.pm index dced6e5..b7a377d 100644 --- a/lib/MGA/DrakISO/BuildMedia.pm +++ b/lib/MGA/DrakISO/BuildMedia.pm @@ -579,7 +579,7 @@ sub read_repo_product_id { my $src_file = $build->{settings}{repository} . '/' . $build->{settings}{arch} . '/product.id'; my $product_id; - if ($src_file =~ m!^(ftp|http)://!) { + if ($src_file =~ m!^(ftp|https?)://!) { $product_id = `curl --silent $src_file`; $? and die "ERROR: couldn't fetch product.id file from repository\n"; } else { -- cgit v1.2.1