summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/pkgs.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index ade4353d3..c94985fc2 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -536,6 +536,9 @@ sub read_rpmsrate {
} elsif (($inv, $p) = /^(!)?DRIVER"(.*)"/) {
($inv xor detect_devices::matching_driver($p)) and $ok = 1;
0;
+ } elsif (($inv, $p) = /^(!)?TYPE"(.*)"/) {
+ ($inv xor detect_devices::matching_type($p)) and $ok = 1;
+ 0;
} else {
1;
}