summaryrefslogtreecommitdiffstats
path: root/perl-install/do_pkgs.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/do_pkgs.pm')
-rw-r--r--perl-install/do_pkgs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/do_pkgs.pm b/perl-install/do_pkgs.pm
index 2ea2f16c6..765c7717b 100644
--- a/perl-install/do_pkgs.pm
+++ b/perl-install/do_pkgs.pm
@@ -65,7 +65,7 @@ sub check_kernel_module_packages {
map {
$base_name . '-' . bootloader::vmlinuz2version($_);
} bootloader::installed_vmlinuz());
- my @ext = $o_ext_name && $do->are_available($o_ext_name);
+ my @ext = $o_ext_name ? $do->are_available($o_ext_name) : ();
log::l("found kernel module packages $_") foreach @rpms, @ext;