From e74244b3f91b47801b8fc04ddf1114cd75e1763c Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 3 Feb 2004 16:21:49 +0000 Subject: (config_window) do not even try to hint the user about the parameter format on a 2.6.x kernel --- perl-install/modules/interactive.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/modules/interactive.pm b/perl-install/modules/interactive.pm index abcacf49d..e898edfea 100644 --- a/perl-install/modules/interactive.pm +++ b/perl-install/modules/interactive.pm @@ -12,7 +12,8 @@ sub config_window { my @l; foreach (modules::parameters::parameters($data->{driver})) { my ($name, $format, $description) = @$_; - push @l, { label => $name, help => "$description\n[$format]", val => \$conf{$name}, allow_empty_list => 1 }; + push @l, { label => $name, help => join("\n", $description, if_(c::kernel_version() !~ /^\Q2.6/, "[$format]")), + val => \$conf{$name}, allow_empty_list => 1 }; } # BUG: once we've released mdk9.2 and unfreeze cooker, morph this # into a proper error dialog with a nice error message (but -- cgit v1.2.1