summaryrefslogtreecommitdiffstats
path: root/perl-install/install
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
commit4439749126a53f40baab173696e9479597eb0328 (patch)
treea1132ab15b4bb18985a8f43659a08b96a8508958 /perl-install/install
parentbb67acc33287d88fe2bb786824ea898eb554bc82 (diff)
downloaddrakx-backup-do-not-use-4439749126a53f40baab173696e9479597eb0328.tar
drakx-backup-do-not-use-4439749126a53f40baab173696e9479597eb0328.tar.gz
drakx-backup-do-not-use-4439749126a53f40baab173696e9479597eb0328.tar.bz2
drakx-backup-do-not-use-4439749126a53f40baab173696e9479597eb0328.tar.xz
drakx-backup-do-not-use-4439749126a53f40baab173696e9479597eb0328.zip
(installPackages) only retrieve release notes once during installation
(also reduces install log size)
Diffstat (limited to 'perl-install/install')
-rw-r--r--perl-install/install/NEWS3
-rw-r--r--perl-install/install/steps_gtk.pm2
2 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 2e18167e2..df758951e 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,6 +1,9 @@
- install more packages earlier (acpi{,d}, dhcp client, firewall & bootloader
stuff), preventing useless installing steps later at summary stage & also
fixing "program not found: grub-gfxmenu" error message while installing
+- only retrieve release notes once during installation
+
+(also reduces install log size)
Version 13.63 - 07 September 2011
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 });