diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2022-11-20 10:07:11 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2022-11-20 15:43:49 +0000 |
commit | 915889bb35556cba51495ba153611cb5a3a499b8 (patch) | |
tree | d105d968c5c9c1126203f42ef2c220c7521d6467 | |
parent | 60efa081bd8d464c9e7100dceeeca18e1b57d817 (diff) | |
download | drakx-915889bb35556cba51495ba153611cb5a3a499b8.tar drakx-915889bb35556cba51495ba153611cb5a3a499b8.tar.gz drakx-915889bb35556cba51495ba153611cb5a3a499b8.tar.bz2 drakx-915889bb35556cba51495ba153611cb5a3a499b8.tar.xz drakx-915889bb35556cba51495ba153611cb5a3a499b8.zip |
installer: allow user to specify downloader when adding supplementary media.
-rw-r--r-- | perl-install/install/any.pm | 2 |
1 files changed, 2 insertions, 0 deletions
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://(.*?)(/.*)! : (); |