summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake/ui.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-10-16 11:51:51 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-10-16 11:51:51 +0000
commit341dbb85e7e447dad25770e316aba660db64afa3 (patch)
treec6db9a4d733fc0e5fffadc3dfa9c7f5c3f5787b7 /perl-install/harddrake/ui.pm
parent713913efd242010ea8950501c7bd8a631a5d55d4 (diff)
downloaddrakx-backup-do-not-use-341dbb85e7e447dad25770e316aba660db64afa3.tar
drakx-backup-do-not-use-341dbb85e7e447dad25770e316aba660db64afa3.tar.gz
drakx-backup-do-not-use-341dbb85e7e447dad25770e316aba660db64afa3.tar.bz2
drakx-backup-do-not-use-341dbb85e7e447dad25770e316aba660db64afa3.tar.xz
drakx-backup-do-not-use-341dbb85e7e447dad25770e316aba660db64afa3.zip
-add cpus detection
- update todo list - perl_checker fix
Diffstat (limited to 'perl-install/harddrake/ui.pm')
-rw-r--r--perl-install/harddrake/ui.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/harddrake/ui.pm b/perl-install/harddrake/ui.pm
index b6c361cd1..4e3ba7b73 100644
--- a/perl-install/harddrake/ui.pm
+++ b/perl-install/harddrake/ui.pm
@@ -2,8 +2,7 @@ package harddrake::ui;
use strict;
-use harddrake::data;
-use harddrake::sound;
+require harddrake::data;
use common;
use my_gtk qw(:helpers :wrappers :various);
use interactive;
@@ -126,6 +125,7 @@ sub detect {
$_->{bus_location} = join ':', map { sprintf("%lx", $i->{$_} ) } qw(bus id);
}
if ($Ident eq "AUDIO") {
+ require harddrake::sound;
my $alter = harddrake::sound::get_alternative($_->{driver});
$_->{alternative_drivers} = join(':', @$alter) if $alter->[0] ne 'unknown';
}