summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-08-05 04:23:39 +0000
committerOlivier Blin <oblin@mandriva.org>2005-08-05 04:23:39 +0000
commit89a14b9204e0caad6d143949e0ea9c4cf2173df9 (patch)
tree519b1c93edb0466e653010a6b5faa993c93c86cb /perl-install/harddrake
parent6d1a9d2a8eb719e5ff0e3ea3517b3e59075f306c (diff)
downloaddrakx-backup-do-not-use-89a14b9204e0caad6d143949e0ea9c4cf2173df9.tar
drakx-backup-do-not-use-89a14b9204e0caad6d143949e0ea9c4cf2173df9.tar.gz
drakx-backup-do-not-use-89a14b9204e0caad6d143949e0ea9c4cf2173df9.tar.bz2
drakx-backup-do-not-use-89a14b9204e0caad6d143949e0ea9c4cf2173df9.tar.xz
drakx-backup-do-not-use-89a14b9204e0caad6d143949e0ea9c4cf2173df9.zip
move is_xbox from common to detect_devices
Diffstat (limited to 'perl-install/harddrake')
-rw-r--r--perl-install/harddrake/sound.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/harddrake/sound.pm b/perl-install/harddrake/sound.pm
index 9f4c7770f..4bbe45e93 100644
--- a/perl-install/harddrake/sound.pm
+++ b/perl-install/harddrake/sound.pm
@@ -359,7 +359,7 @@ sub configure_sound_slots {
if (!member($default_driver, @{get_alternative($_->{driver})}, $_->{driver})) {
$altered ||= $default_driver;
$modules_conf->set_sound_slot("sound-slot-$::i", $_->{driver});
- $modules_conf->set_options($_->{driver}, "xbox=1") if $_->{driver} eq "snd-intel8x0" && is_xbox();
+ $modules_conf->set_options($_->{driver}, "xbox=1") if $_->{driver} eq "snd-intel8x0" && detect_devices::is_xbox();
}
} detect_devices::getSoundDevices();
$modules_conf->write if $altered && $::isStandalone;