summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Guthrie <cguthrie@mandriva.org>2009-09-01 13:52:54 +0000
committerColin Guthrie <cguthrie@mandriva.org>2009-09-01 13:52:54 +0000
commite097182745004a2cb42929ab3dbe1ce65f18b0c3 (patch)
treecfe63983237e1cb15877fce917eef0b654c7684f
parent15d65ac4cfa728093df5467625aed12e46e84122 (diff)
downloaddrakx-e097182745004a2cb42929ab3dbe1ce65f18b0c3.tar
drakx-e097182745004a2cb42929ab3dbe1ce65f18b0c3.tar.gz
drakx-e097182745004a2cb42929ab3dbe1ce65f18b0c3.tar.bz2
drakx-e097182745004a2cb42929ab3dbe1ce65f18b0c3.tar.xz
drakx-e097182745004a2cb42929ab3dbe1ce65f18b0c3.zip
Call common::symlinkf_update_alternatives rather than the broken common::set_alternative version. Refs mdv#53243 and mdv#53344
-rw-r--r--perl-install/NEWS4
-rw-r--r--perl-install/harddrake/sound.pm2
2 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 4ef8ef1fb..2db7e86bf 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,7 @@
+
+- draksound:
+ o Fix soundprofile alternatives setting by using a more appropriate subroutine
+
Version 12.46 - 28 August 2009
- handle new drivers:
diff --git a/perl-install/harddrake/sound.pm b/perl-install/harddrake/sound.pm
index e06a20c0f..f556d4603 100644
--- a/perl-install/harddrake/sound.pm
+++ b/perl-install/harddrake/sound.pm
@@ -209,7 +209,7 @@ sub set_pulseaudio {
my ($val) = @_;
my $alterative = '/etc/sound/profiles/' . ($val ? 'pulse' : 'alsa');
- common::set_alternative('soundprofile', $alterative);
+ common::symlinkf_update_alternatives('soundprofile', $alterative);
# (cg) This config file will eventually be dropped, but it is still needed for now
# as several packages/patches depend on it.