summaryrefslogtreecommitdiffstats
path: root/perl-install/pkgs.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-08-20 08:40:15 +0000
committerOlivier Blin <oblin@mandriva.org>2004-08-20 08:40:15 +0000
commit38650277720dbde63cdbfff76c0cd89851a1e21e (patch)
tree7a831857ee7b0227db502e42066679b9c14f687d /perl-install/pkgs.pm
parent8da7a0daa3cac2c0c0de09e6cea307bbf3c7ab48 (diff)
downloaddrakx-38650277720dbde63cdbfff76c0cd89851a1e21e.tar
drakx-38650277720dbde63cdbfff76c0cd89851a1e21e.tar.gz
drakx-38650277720dbde63cdbfff76c0cd89851a1e21e.tar.bz2
drakx-38650277720dbde63cdbfff76c0cd89851a1e21e.tar.xz
drakx-38650277720dbde63cdbfff76c0cd89851a1e21e.zip
(read_rpmsrate) support the TYPE keyword, using detect_devices::matching_type()
Diffstat (limited to 'perl-install/pkgs.pm')
-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;
}