summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake/sound.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/harddrake/sound.pm')
-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 a0f8f62ad..d311ef212 100644
--- a/perl-install/harddrake/sound.pm
+++ b/perl-install/harddrake/sound.pm
@@ -140,13 +140,13 @@ sub get_alternative {
}
sub explain {
+ require standalone;
standalone::explanations @_ unless $::isInstall;
}
sub do_switch {
my ($old_driver, $new_driver) = @_;
- require standalone;
explain("removing old $old_driver\n");
rooted("service sound stop") unless $blacklisted;
rooted("service alsa stop") if $old_driver =~ /^snd-/ && !$blacklisted;