From e097182745004a2cb42929ab3dbe1ce65f18b0c3 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Tue, 1 Sep 2009 13:52:54 +0000 Subject: Call common::symlinkf_update_alternatives rather than the broken common::set_alternative version. Refs mdv#53243 and mdv#53344 --- perl-install/NEWS | 4 ++++ perl-install/harddrake/sound.pm | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'perl-install') 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. -- cgit v1.2.1