From 915889bb35556cba51495ba153611cb5a3a499b8 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sun, 20 Nov 2022 10:07:11 +0000 Subject: installer: allow user to specify downloader when adding supplementary media. --- perl-install/install/any.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'perl-install/install') diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm index 78bb16eaf..47802e868 100644 --- a/perl-install/install/any.pm +++ b/perl-install/install/any.pm @@ -214,6 +214,8 @@ sub ask_suppl_media_url { my ($o, $method, $o_url) = @_; if (member($method, qw(ftp http))) { + any::ask_mirror_and_downloader($o, $o->{options}, 'downloader_only'); + $o->{packages}{options}{downloader} = $o->{options}{downloader}; any::ask_mirror($o, 'distrib', $o_url); } elsif ($method eq 'nfs') { my ($host, $dir) = $o_url ? $o_url =~ m!nfs://(.*?)(/.*)! : (); -- cgit v1.2.1