diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-01-07 21:21:17 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-03-12 20:07:11 +0000 |
commit | 125a6d66148781800c4b5c5f0d08ecd17d0dc74f (patch) | |
tree | 5757e2d64ee6103577431612e05c282715ba20d5 /perl-install | |
parent | 2115499188dc5fd75370ce389382ae51ef3eb5b6 (diff) | |
download | drakx-125a6d66148781800c4b5c5f0d08ecd17d0dc74f.tar drakx-125a6d66148781800c4b5c5f0d08ecd17d0dc74f.tar.gz drakx-125a6d66148781800c4b5c5f0d08ecd17d0dc74f.tar.bz2 drakx-125a6d66148781800c4b5c5f0d08ecd17d0dc74f.tar.xz drakx-125a6d66148781800c4b5c5f0d08ecd17d0dc74f.zip |
installer: fix errors when installing network driver packages.
Don't call network::thirdparty::get_available_packages() if there
are no packages to install - it generates lots of spurious error
messages.
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/pkgs.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm index 265ef0d12..9a63037ec 100644 --- a/perl-install/pkgs.pm +++ b/perl-install/pkgs.pm @@ -209,7 +209,7 @@ sub detect_network_drivers { foreach my $settings (@network_settings) { foreach (@network::thirdparty::thirdparty_types) { my @packages = network::thirdparty::get_required_packages($_, $settings); - push @l, network::thirdparty::get_available_packages($_, $do_pkgs, @packages); + push @l, network::thirdparty::get_available_packages($_, $do_pkgs, @packages) if @packages; } } } |