diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2004-01-13 12:42:54 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2004-01-13 12:42:54 +0000 |
commit | 0d0b1ff09529f3efc839b14ff4a858ee3ac310bd (patch) | |
tree | 86aa5a8445aa19089ee0a76302298b19f9919c7f /perl-install/pkgs.pm | |
parent | 8bbfff60b0abe467f5ec1e95facdfbfd86e1c9c4 (diff) | |
download | drakx-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
Diffstat (limited to 'perl-install/pkgs.pm')
-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 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; } |