summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/harddrake2
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-05-19 03:03:53 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-05-19 03:03:53 +0000
commita48a9160669915cd464fae342a44be825fe25257 (patch)
treeabbc09d50a2cb148bcd3ea9840734d111047cbe9 /perl-install/standalone/harddrake2
parent20771e6028d3e5b2681e2dc38d3fbdd76dca008f (diff)
downloaddrakx-backup-do-not-use-a48a9160669915cd464fae342a44be825fe25257.tar
drakx-backup-do-not-use-a48a9160669915cd464fae342a44be825fe25257.tar.gz
drakx-backup-do-not-use-a48a9160669915cd464fae342a44be825fe25257.tar.bz2
drakx-backup-do-not-use-a48a9160669915cd464fae342a44be825fe25257.tar.xz
drakx-backup-do-not-use-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-xperl-install/standalone/harddrake22
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 {