summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-04-06 10:58:01 +0000
committerOlivier Blin <oblin@mandriva.org>2005-04-06 10:58:01 +0000
commit43362aa70f0fee6f6486ec6eec1a0e78412e1cfd (patch)
treed64486e40a66b9a9a828d9779425b2fd885d318e /perl-install
parentd482ffef5f46089485a53f7485fc64a141047083 (diff)
downloaddrakx-43362aa70f0fee6f6486ec6eec1a0e78412e1cfd.tar
drakx-43362aa70f0fee6f6486ec6eec1a0e78412e1cfd.tar.gz
drakx-43362aa70f0fee6f6486ec6eec1a0e78412e1cfd.tar.bz2
drakx-43362aa70f0fee6f6486ec6eec1a0e78412e1cfd.tar.xz
drakx-43362aa70f0fee6f6486ec6eec1a0e78412e1cfd.zip
use short-circuit operator (/me sux, thanks Pixel)
Diffstat (limited to 'perl-install')
-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 0b2c23fa4..2ea2f16c6 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 = if_($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;