summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2006-02-23 13:28:19 +0000
committerOlivier Blin <oblin@mandriva.org>2006-02-23 13:28:19 +0000
commit126f3e71b55d5c6478c3ecc9b4429f7932dfe214 (patch)
tree19b93615f43c0a492306094da45945d488aafb67
parent4c9864e08d1ca96728d98a224ce279edadcb7820 (diff)
downloaddrakx-126f3e71b55d5c6478c3ecc9b4429f7932dfe214.tar
drakx-126f3e71b55d5c6478c3ecc9b4429f7932dfe214.tar.gz
drakx-126f3e71b55d5c6478c3ecc9b4429f7932dfe214.tar.bz2
drakx-126f3e71b55d5c6478c3ecc9b4429f7932dfe214.tar.xz
drakx-126f3e71b55d5c6478c3ecc9b4429f7932dfe214.zip
don't show release notes after install (not handled yet)
-rw-r--r--perl-install/any.pm2
1 files changed, 1 insertions, 1 deletions
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]) } } ])