From 22a40789d22ead355a8dfc0a2b4f8a40752e1546 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 16 Jan 2003 10:35:28 +0000 Subject: move "require standalone" where needed --- perl-install/harddrake/sound.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/harddrake') 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; -- cgit v1.2.1