From 7d833cba42b3c5f216ecb3e939cede8bd6b9df5d Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 18 May 2011 23:44:56 +0000 Subject: perl_checker cleanups after colin's commits --- perl-install/harddrake/sound.pm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'perl-install') diff --git a/perl-install/harddrake/sound.pm b/perl-install/harddrake/sound.pm index 67b51d3e1..c5e4959e1 100644 --- a/perl-install/harddrake/sound.pm +++ b/perl-install/harddrake/sound.pm @@ -249,9 +249,6 @@ sub set_PA_autospan { } -my $pulse_config_file = "$::prefix/etc/pulse/daemon.conf"; - - sub rooted { run_program::rooted($::prefix, @_) } sub unload { modules::unload(@_) if $::isStandalone || $blacklisted } @@ -306,7 +303,7 @@ sub switch { push @alternative, $driver; my %des = modules::category2modules_and_description('multimedia/sound'); - my $is_pulseaudio_installed = ( -f $pa_startup_scriptfile && -f $pa_client_conffile && -d '/etc/sound/profiles/pulse' ); + my $is_pulseaudio_installed = (-f $pa_startup_scriptfile && -f $pa_client_conffile && -d '/etc/sound/profiles/pulse'); my $is_pulseaudio_enabled = is_pulseaudio_enabled(); my $is_pulseaudio_glitchfree_enabled = is_pulseaudio_glitchfree_enabled(); -- cgit v1.2.1