summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-05-19 03:03:40 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-05-19 03:03:40 +0000
commit20771e6028d3e5b2681e2dc38d3fbdd76dca008f (patch)
treec0f26314f4b3519684455c000f41eb1ec8c3bcb2
parent6ca2e9188191e4f4dd571c3457e33aeef6cf946b (diff)
downloaddrakx-backup-do-not-use-20771e6028d3e5b2681e2dc38d3fbdd76dca008f.tar
drakx-backup-do-not-use-20771e6028d3e5b2681e2dc38d3fbdd76dca008f.tar.gz
drakx-backup-do-not-use-20771e6028d3e5b2681e2dc38d3fbdd76dca008f.tar.bz2
drakx-backup-do-not-use-20771e6028d3e5b2681e2dc38d3fbdd76dca008f.tar.xz
drakx-backup-do-not-use-20771e6028d3e5b2681e2dc38d3fbdd76dca008f.zip
(read_rpmsrate) add support for HW_CAT keyword that enable to match
a category from list_modules.pm
-rw-r--r--perl-install/pkgs.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index 47b3633e6..66ebda3ca 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -640,6 +640,8 @@ sub read_rpmsrate {
$inv xor do {
if (my ($p) = /^HW"(.*)"/) {
detect_devices::matching_desc__regexp($p);
+ } elsif (($p) = /^HW_CAT"(.*)"/) {
+ modules::probe_category($p);
} elsif (($p) = /^DRIVER"(.*)"/) {
detect_devices::matching_driver__regexp($p);
} elsif (($p) = /^TYPE"(.*)"/) {