summaryrefslogtreecommitdiffstats
path: root/perl-install/install/install2.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2022-01-16 23:14:53 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2022-01-17 01:02:29 +0100
commita320a78768074bc35e59b7ce627ba88d16cfd6e8 (patch)
tree96be886ce3767a1ca92b8e7cf9f7288593979596 /perl-install/install/install2.pm
parentdf5dce945bb3bf66f9f459c279701580d2f83f85 (diff)
downloaddrakx-a320a78768074bc35e59b7ce627ba88d16cfd6e8.tar
drakx-a320a78768074bc35e59b7ce627ba88d16cfd6e8.tar.gz
drakx-a320a78768074bc35e59b7ce627ba88d16cfd6e8.tar.bz2
drakx-a320a78768074bc35e59b7ce627ba88d16cfd6e8.tar.xz
drakx-a320a78768074bc35e59b7ce627ba88d16cfd6e8.zip
Enable to alter default downloader (mga#28539)
Default is still curl. Choice is limited to what is actually included in stage2 (for now, only aria2c, curl or wget) eg: " downloader=wget"
Diffstat (limited to 'perl-install/install/install2.pm')
-rw-r--r--perl-install/install/install2.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install/install2.pm b/perl-install/install/install2.pm
index de48a6dbb..7f6cbd6fe 100644
--- a/perl-install/install/install2.pm
+++ b/perl-install/install/install2.pm
@@ -562,6 +562,7 @@ sub parse_args {
'deploops',
'justdb',
'tune-rpm' => sub { $o->{'tune-rpm'} = 'all' },
+ 'downloader=s' => sub { $o->{options}{downloader} = $_[1] },
# GUI options:
'vga16=s',