diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-04-06 11:09:44 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-04-06 11:09:44 +0000 |
commit | c76590fa6bbc31bf66aca3a5da115efd27a93839 (patch) | |
tree | b9fe5891371ee6fc425e1e205b80c9f42db6b047 | |
parent | 43362aa70f0fee6f6486ec6eec1a0e78412e1cfd (diff) | |
download | drakx-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.pm | 2 |
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; |