summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-06-09 10:15:14 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-06-09 10:15:14 +0000
commit798242f321e1c86108e46f1f7d71757167ff161c (patch)
treeaa4c242b5937c8e061964d1cd568111414d38a92
parentf348610c5bb4dee40f4b8f20a1b8cf6a74518002 (diff)
downloaddrakx-798242f321e1c86108e46f1f7d71757167ff161c.tar
drakx-798242f321e1c86108e46f1f7d71757167ff161c.tar.gz
drakx-798242f321e1c86108e46f1f7d71757167ff161c.tar.bz2
drakx-798242f321e1c86108e46f1f7d71757167ff161c.tar.xz
drakx-798242f321e1c86108e46f1f7d71757167ff161c.zip
(acceptLicense) do not show "releases notes" for globetrotter
-rw-r--r--perl-install/install_steps_interactive.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index 15628f2a6..0079337dc 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -86,7 +86,7 @@ sub acceptLicense {
cancel => N("Quit"),
messages => formatAlaTeX(install_messages::main_license() . "\n\n\n" . install_messages::warning_about_patents()),
interactive_help_id => 'acceptLicense',
- more_buttons => [ [ N("Release Notes"), sub { $o->ask_warn(N("Release Notes"), $o->{release_notes}) }, 1 ] ],
+ if_(!$::globetrotter, more_buttons => [ [ N("Release Notes"), sub { $o->ask_warn(N("Release Notes"), $o->{release_notes}) }, 1 ] ]),
callbacks => { ok_disabled => sub { $r eq 'Refuse' } },
},
[ { list => [ N_("Accept"), N_("Refuse") ], val => \$r, type => 'list', format => sub { translate($_[0]) } } ])