summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-09-18 14:07:45 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-09-18 14:07:45 +0000
commit57158b1b1dc1b3f77f4e7873051e129038486a7b (patch)
tree20567a8453042967de7023a0717aec7beadc7a5e
parent430cc12e2a1aaf87847e1d8ca88dddbdba0a5d37 (diff)
downloaddrakx-backup-do-not-use-57158b1b1dc1b3f77f4e7873051e129038486a7b.tar
drakx-backup-do-not-use-57158b1b1dc1b3f77f4e7873051e129038486a7b.tar.gz
drakx-backup-do-not-use-57158b1b1dc1b3f77f4e7873051e129038486a7b.tar.bz2
drakx-backup-do-not-use-57158b1b1dc1b3f77f4e7873051e129038486a7b.tar.xz
drakx-backup-do-not-use-57158b1b1dc1b3f77f4e7873051e129038486a7b.zip
prevent some obscure crash at install time
-rw-r--r--perl-install/harddrake/sound.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/harddrake/sound.pm b/perl-install/harddrake/sound.pm
index 0fcedc3a4..d340b15d2 100644
--- a/perl-install/harddrake/sound.pm
+++ b/perl-install/harddrake/sound.pm
@@ -270,6 +270,7 @@ initlevel 3
sub get_any_driver_entry {
my ($in, $driver, $device) = @_;
+ return () if $::isInstall;
+{
val => N("Let me pick any driver"), disabled => sub {},
clicked => sub {