diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-09-26 13:19:21 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-09-26 13:19:21 +0000 |
commit | 075a25662ac35960af17d0554303d74e45952812 (patch) | |
tree | 3fd50c65f2db2dc332137daec7b48bd649d1373a /perl-install/interactive.pm | |
parent | f8d87de2feed7d78ac2fe4c10bc00d9e3b43f2e5 (diff) | |
download | drakx-075a25662ac35960af17d0554303d74e45952812.tar drakx-075a25662ac35960af17d0554303d74e45952812.tar.gz drakx-075a25662ac35960af17d0554303d74e45952812.tar.bz2 drakx-075a25662ac35960af17d0554303d74e45952812.tar.xz drakx-075a25662ac35960af17d0554303d74e45952812.zip |
(ask_from_normalize) do not display Help buttons in standalone mode
since we do not have any contents
Diffstat (limited to 'perl-install/interactive.pm')
-rw-r--r-- | perl-install/interactive.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm index 3ac1a208b..62706f25f 100644 --- a/perl-install/interactive.pm +++ b/perl-install/interactive.pm @@ -482,6 +482,9 @@ sub ask_from_normalize { } $common->{interactive_help} ||= $o->{interactive_help}; $common->{interactive_help} ||= $common->{interactive_help_id} && $o->interactive_help_sub_get_id($common->{interactive_help_id}); + if (!$::isInstall) { + delete $common->{$_} foreach qw(interactive_help interactive_help_id); + } $common->{advanced_label} ||= N("Advanced"); $common->{advanced_label_close} and log::l("advanced_label_close is not used anymore"); $common->{$_} = $common->{$_} ? [ map { $o->adapt_markup($_) } deref($common->{$_}) ] : [] |