summaryrefslogtreecommitdiffstats
path: root/perl-install/install/steps_gtk.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2011-09-08 10:37:20 +0000
committerThierry Vignaud <tv@mageia.org>2011-09-08 10:37:20 +0000
commit782d5f691b1cb09a8cad84d7d32650fb1455ac81 (patch)
treea1132ab15b4bb18985a8f43659a08b96a8508958 /perl-install/install/steps_gtk.pm
parent6e10c0c5cf2caeb3be3227c9d26915255cb6e270 (diff)
downloaddrakx-782d5f691b1cb09a8cad84d7d32650fb1455ac81.tar
drakx-782d5f691b1cb09a8cad84d7d32650fb1455ac81.tar.gz
drakx-782d5f691b1cb09a8cad84d7d32650fb1455ac81.tar.bz2
drakx-782d5f691b1cb09a8cad84d7d32650fb1455ac81.tar.xz
drakx-782d5f691b1cb09a8cad84d7d32650fb1455ac81.zip
(installPackages) only retrieve release notes once during installation
(also reduces install log size)
Diffstat (limited to 'perl-install/install/steps_gtk.pm')
-rw-r--r--perl-install/install/steps_gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/steps_gtk.pm b/perl-install/install/steps_gtk.pm
index 75f76421f..b8343d22c 100644
--- a/perl-install/install/steps_gtk.pm
+++ b/perl-install/install/steps_gtk.pm
@@ -568,7 +568,7 @@ sub installPackages {
$pkg_log_widget->{to_bottom}->('force');
});
- my $release_notes = any::get_release_notes($o);
+ state $release_notes ||= any::get_release_notes($o);
my $rel_notes = gtknew('Button', text => N("Release Notes"),
clicked => sub { $show_release_notes = 1 });