summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-06-09 10:15:23 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-06-09 10:15:23 +0000
commit1d458d00d356ec21d2849db602ab33bb66e4a84b (patch)
treeba5ccaaf70e8cbda7fcd6b9cbfb4c4469a958894
parent6fb8b52c1500c94434bd3076baa224edd805863f (diff)
downloaddrakx-1d458d00d356ec21d2849db602ab33bb66e4a84b.tar
drakx-1d458d00d356ec21d2849db602ab33bb66e4a84b.tar.gz
drakx-1d458d00d356ec21d2849db602ab33bb66e4a84b.tar.bz2
drakx-1d458d00d356ec21d2849db602ab33bb66e4a84b.tar.xz
drakx-1d458d00d356ec21d2849db602ab33bb66e4a84b.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 d5e4c4c4e..4e81713c4 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]) } } ])