summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/interactive.pm3
2 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 45367c0cb..dfb965178 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,5 @@
+- do not display Help buttons in standalone mode since we do not have
+ any contents
- factorize WebKit code with mcc
Version 11.54.2 - 26 September 2008
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->{$_}) ] : []