summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-04-06 11:09:44 +0000
committerOlivier Blin <oblin@mandriva.org>2005-04-06 11:09:44 +0000
commitc76590fa6bbc31bf66aca3a5da115efd27a93839 (patch)
treeb9fe5891371ee6fc425e1e205b80c9f42db6b047
parent43362aa70f0fee6f6486ec6eec1a0e78412e1cfd (diff)
downloaddrakx-c76590fa6bbc31bf66aca3a5da115efd27a93839.tar
drakx-c76590fa6bbc31bf66aca3a5da115efd27a93839.tar.gz
drakx-c76590fa6bbc31bf66aca3a5da115efd27a93839.tar.bz2
drakx-c76590fa6bbc31bf66aca3a5da115efd27a93839.tar.xz
drakx-c76590fa6bbc31bf66aca3a5da115efd27a93839.zip
now that I know how to short-circuit it, make it work as well
(have I already said I sux ?)
-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;