summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2004-01-13 12:42:54 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2004-01-13 12:42:54 +0000
commit0d0b1ff09529f3efc839b14ff4a858ee3ac310bd (patch)
tree86aa5a8445aa19089ee0a76302298b19f9919c7f
parent8bbfff60b0abe467f5ec1e95facdfbfd86e1c9c4 (diff)
downloaddrakx-backup-do-not-use-0d0b1ff09529f3efc839b14ff4a858ee3ac310bd.tar
drakx-backup-do-not-use-0d0b1ff09529f3efc839b14ff4a858ee3ac310bd.tar.gz
drakx-backup-do-not-use-0d0b1ff09529f3efc839b14ff4a858ee3ac310bd.tar.bz2
drakx-backup-do-not-use-0d0b1ff09529f3efc839b14ff4a858ee3ac310bd.tar.xz
drakx-backup-do-not-use-0d0b1ff09529f3efc839b14ff4a858ee3ac310bd.zip
allow DRIVER"regexp" in rpmsrate and use it to install xmms-alsa when we use alsa sound driver
-rw-r--r--perl-install/pkgs.pm3
-rw-r--r--perl-install/share/rpmsrate1
2 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index 8265e0ed6..745ae9367 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -488,6 +488,9 @@ sub read_rpmsrate {
if (my ($inv, $p) = /^(!)?HW"(.*)"/) {
($inv xor detect_devices::matching_desc($p)) and $ok = 1;
0;
+ } elsif (my ($inv, $p) = /^(!)?DRIVER"(.*)"/) {
+ ($inv xor detect_devices::matching_driver($p)) and $ok = 1;
+ 0;
} else {
1;
}
diff --git a/perl-install/share/rpmsrate b/perl-install/share/rpmsrate
index a15478b63..d4acf27b5 100644
--- a/perl-install/share/rpmsrate
+++ b/perl-install/share/rpmsrate
@@ -88,6 +88,7 @@ AUDIO
3 KDE kdemultimedia-noatun
3 timidity-instruments
3 xmms
+ 3 DRIVER"^snd-" xmms-alsa
3 xmms-esd
3 xmms-kjofol-skins
3 xmms-more-vis-plugins