summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2020-11-15 00:41:49 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2020-11-15 00:41:49 +0000
commit9ff9c35cb538dea537cd424efa9a3065e54cb04a (patch)
tree771ac486a23af8c8d89eb15b6e8626790e9b866a
parent8ceeb6e06e4fd26f038dcf314d1bccead4132797 (diff)
downloaddrakx-9ff9c35cb538dea537cd424efa9a3065e54cb04a.tar
drakx-9ff9c35cb538dea537cd424efa9a3065e54cb04a.tar.gz
drakx-9ff9c35cb538dea537cd424efa9a3065e54cb04a.tar.bz2
drakx-9ff9c35cb538dea537cd424efa9a3065e54cb04a.tar.xz
drakx-9ff9c35cb538dea537cd424efa9a3065e54cb04a.zip
Fix faulty expression introduced in commit c97259e56.
-rw-r--r--perl-install/pkgs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index 5faace128..5e079f544 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -125,7 +125,7 @@ sub read_rpmsrate {
$match_all_hardware ? 1 : ($inv xor find { $_->{description} =~ /$p/i } @probeall);
} elsif (($p) = /^DRIVER"(.*)"/) {
$match_all_hardware ? 1 : ($inv xor find { $_->{driver} =~ /$p/i } @probeall);
- } elsif (($p) = /^TYPE"(.*)"/ && $p ne '64bit') {
+ } elsif ((($p) = /^TYPE"(.*)"/) && $p ne '64bit') {
$match_all_hardware ? 1 : ($inv xor $TYPEs->{$p});
} elsif (($p) = /^HW_CAT"(.*)"/) {
$match_all_hardware ? 1 : ($inv xor detect_devices::probe_category($p));