From 126f3e71b55d5c6478c3ecc9b4429f7932dfe214 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 23 Feb 2006 13:28:19 +0000 Subject: don't show release notes after install (not handled yet) --- perl-install/any.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/any.pm b/perl-install/any.pm index 54a0cd0be..99ca76db3 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -735,7 +735,7 @@ sub acceptLicense { cancel => N("Quit"), messages => formatAlaTeX(install_messages::main_license() . "\n\n\n" . install_messages::warning_about_patents()), interactive_help_id => 'acceptLicense', - if_(!$::globetrotter, more_buttons => [ [ N("Release Notes"), sub { $o->ask_warn(N("Release Notes"), $o->{release_notes}) }, 1 ] ]), + if_($::isInstall && !$::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]) } } ]) -- cgit v1.2.1