diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-08-20 08:40:15 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-08-20 08:40:15 +0000 |
commit | 38650277720dbde63cdbfff76c0cd89851a1e21e (patch) | |
tree | 7a831857ee7b0227db502e42066679b9c14f687d | |
parent | 8da7a0daa3cac2c0c0de09e6cea307bbf3c7ab48 (diff) | |
download | drakx-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()
-rw-r--r-- | perl-install/pkgs.pm | 3 |
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; } |