diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2005-05-19 03:03:53 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2005-05-19 03:03:53 +0000 |
commit | a48a9160669915cd464fae342a44be825fe25257 (patch) | |
tree | abbc09d50a2cb148bcd3ea9840734d111047cbe9 /perl-install/standalone/harddrake2 | |
parent | 20771e6028d3e5b2681e2dc38d3fbdd76dca008f (diff) | |
download | drakx-a48a9160669915cd464fae342a44be825fe25257.tar drakx-a48a9160669915cd464fae342a44be825fe25257.tar.gz drakx-a48a9160669915cd464fae342a44be825fe25257.tar.bz2 drakx-a48a9160669915cd464fae342a44be825fe25257.tar.xz drakx-a48a9160669915cd464fae342a44be825fe25257.zip |
(simple_read_rpmsrate) add support for HW_CAT keyword that enable to match
a category from list_modules.pm
Diffstat (limited to 'perl-install/standalone/harddrake2')
-rwxr-xr-x | perl-install/standalone/harddrake2 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/standalone/harddrake2 b/perl-install/standalone/harddrake2 index e0c3a6d47..f108f58a4 100755 --- a/perl-install/standalone/harddrake2 +++ b/perl-install/standalone/harddrake2 @@ -583,6 +583,8 @@ sub simple_read_rpmsrate { map { split(' ', $_) } map { if (my ($p, $packages) = /[^!]HW"(.*)"(.*)/) { if_(detect_devices::matching_desc__regexp($p), $packages); + } elsif (($p, $packages) = /[^!]HW_CAT"(.*)"(.*)/) { + if_(modules::probe_category($p), $packages); } elsif (($p, $packages) = /[^!]DRIVER"(.*)"(.*)/) { if_(detect_devices::matching_driver__regexp($p), $packages); } else { |