summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/draksound
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-08-20 13:50:40 +0000
committerOlivier Blin <oblin@mandriva.com>2007-08-20 13:50:40 +0000
commitb9fbf633ffa6d2a4fe86b789c81e4780cab0ffc1 (patch)
tree3f2ae7535c8325f687bb34f739b1fce9db35b413 /perl-install/standalone/draksound
parent7d7850aa75e8dc191b724df115c04109de83598d (diff)
downloaddrakx-b9fbf633ffa6d2a4fe86b789c81e4780cab0ffc1.tar
drakx-b9fbf633ffa6d2a4fe86b789c81e4780cab0ffc1.tar.gz
drakx-b9fbf633ffa6d2a4fe86b789c81e4780cab0ffc1.tar.bz2
drakx-b9fbf633ffa6d2a4fe86b789c81e4780cab0ffc1.tar.xz
drakx-b9fbf633ffa6d2a4fe86b789c81e4780cab0ffc1.zip
use '_' in modules names
Diffstat (limited to 'perl-install/standalone/draksound')
-rwxr-xr-xperl-install/standalone/draksound1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/standalone/draksound b/perl-install/standalone/draksound
index 5812f388a..0258cbe9d 100755
--- a/perl-install/standalone/draksound
+++ b/perl-install/standalone/draksound
@@ -39,6 +39,7 @@ if (my @devices = detect_devices::probe_category('multimedia/sound')) {
# fill $device->{driver} with the right sound-slot-XX or default driver if missing sound-slot [real fix'll be in harddrake service]
my $driver = $modules_conf->get_alias("sound-slot-$::i");
$driver = $modules_conf->get_alias($driver) if $driver =~ /sound-card/; # alsaconf ...
+ $driver =~ s/-/_/g;
$_->{current_driver} = $driver if $driver;
$_->{sound_slot_index} = $::i;
harddrake::sound::config($in, $modules_conf, $_);