summaryrefslogtreecommitdiffstats
path: root/perl-install/modules
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-02-03 16:21:49 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-02-03 16:21:49 +0000
commite74244b3f91b47801b8fc04ddf1114cd75e1763c (patch)
treea56aadafac48022845647baf106d3a1edc36aa37 /perl-install/modules
parentb31446a81d5ec395245290737410e866f82d0976 (diff)
downloaddrakx-e74244b3f91b47801b8fc04ddf1114cd75e1763c.tar
drakx-e74244b3f91b47801b8fc04ddf1114cd75e1763c.tar.gz
drakx-e74244b3f91b47801b8fc04ddf1114cd75e1763c.tar.bz2
drakx-e74244b3f91b47801b8fc04ddf1114cd75e1763c.tar.xz
drakx-e74244b3f91b47801b8fc04ddf1114cd75e1763c.zip
(config_window) do not even try to hint the user about the parameter
format on a 2.6.x kernel
Diffstat (limited to 'perl-install/modules')
-rw-r--r--perl-install/modules/interactive.pm3
1 files changed, 2 insertions, 1 deletions
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