summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2011-05-18 23:44:56 +0000
committerThierry Vignaud <tv@mageia.org>2011-05-18 23:44:56 +0000
commit7d833cba42b3c5f216ecb3e939cede8bd6b9df5d (patch)
tree73da3231188eb4e6751df1514ef0e122af78b2fa /perl-install/harddrake
parent9dbbf335fe3c6f3034f25ac947029ac2e802e366 (diff)
downloaddrakx-7d833cba42b3c5f216ecb3e939cede8bd6b9df5d.tar
drakx-7d833cba42b3c5f216ecb3e939cede8bd6b9df5d.tar.gz
drakx-7d833cba42b3c5f216ecb3e939cede8bd6b9df5d.tar.bz2
drakx-7d833cba42b3c5f216ecb3e939cede8bd6b9df5d.tar.xz
drakx-7d833cba42b3c5f216ecb3e939cede8bd6b9df5d.zip
perl_checker cleanups after colin's commits
Diffstat (limited to 'perl-install/harddrake')
-rw-r--r--perl-install/harddrake/sound.pm5
1 files changed, 1 insertions, 4 deletions
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();