summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-02-08 13:29:19 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-02-08 13:29:19 +0000
commit11167f7fda2bdce1107906ff004f35accf5fb3b9 (patch)
treeaf485611bf8355a704659e68f96ff9a54cd8e370 /perl-install
parentcf188d2daa0f220ced942d155dfb65c4d8e6e3e1 (diff)
downloaddrakx-11167f7fda2bdce1107906ff004f35accf5fb3b9.tar
drakx-11167f7fda2bdce1107906ff004f35accf5fb3b9.tar.gz
drakx-11167f7fda2bdce1107906ff004f35accf5fb3b9.tar.bz2
drakx-11167f7fda2bdce1107906ff004f35accf5fb3b9.tar.xz
drakx-11167f7fda2bdce1107906ff004f35accf5fb3b9.zip
adapt to change allowing checking nvidia/ati proprietary driver availability only when needed
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_steps_interactive.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index 384f54d44..289250cdc 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -1252,8 +1252,8 @@ sub configureX {
my $options = {
allowFB => $o->{allowFB},
- allowNVIDIA_rpms => $o->do_pkgs->check_kernel_module_packages('NVIDIA_kernel', 'NVIDIA_GLX'),
- allowATI_rpms => $o->do_pkgs->check_kernel_module_packages('ATI_kernel', 'ATI_GLX'),
+ allowNVIDIA_rpms => sub { $o->do_pkgs->check_kernel_module_packages('NVIDIA_kernel', 'NVIDIA_GLX') },
+ allowATI_rpms => sub { $o->do_pkgs->check_kernel_module_packages('ATI_kernel', 'ATI_GLX') },
};
require Xconfig::main;