summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-01-16 10:35:28 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-01-16 10:35:28 +0000
commit22a40789d22ead355a8dfc0a2b4f8a40752e1546 (patch)
tree8d4d0486d77cd649efd366e9235e6dcb4011c76a /perl-install
parent064ad9bff0551c264ac09a4d54779c6f1029be05 (diff)
downloaddrakx-22a40789d22ead355a8dfc0a2b4f8a40752e1546.tar
drakx-22a40789d22ead355a8dfc0a2b4f8a40752e1546.tar.gz
drakx-22a40789d22ead355a8dfc0a2b4f8a40752e1546.tar.bz2
drakx-22a40789d22ead355a8dfc0a2b4f8a40752e1546.tar.xz
drakx-22a40789d22ead355a8dfc0a2b4f8a40752e1546.zip
move "require standalone" where needed
Diffstat (limited to 'perl-install')
-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;