diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2022-01-16 23:14:53 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2022-01-17 01:02:29 +0100 |
commit | a320a78768074bc35e59b7ce627ba88d16cfd6e8 (patch) | |
tree | 96be886ce3767a1ca92b8e7cf9f7288593979596 /perl-install/install/pkgs.pm | |
parent | df5dce945bb3bf66f9f459c279701580d2f83f85 (diff) | |
download | drakx-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/pkgs.pm')
-rw-r--r-- | perl-install/install/pkgs.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm index 2fcd0eccc..0dbd38751 100644 --- a/perl-install/install/pkgs.pm +++ b/perl-install/install/pkgs.pm @@ -420,6 +420,7 @@ sub empty_packages { urpm::set_tune_rpm($packages, $::o->{'tune-rpm'}) if $::o->{'tune-rpm'}; $::force = 1; $packages->{options}{ignoresize} = 1; + $packages->{options}{downloader} = $::o->{options}{downloader}; # prevent priority upgrade (redundant for now as $urpm->{root} implies disabling it: $packages->{options}{'priority-upgrade'} = undef; # log $trans->add() faillure; FIXME: should we override *urpm::msg::sys_log? |