summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-09-06 13:12:16 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-09-06 13:12:16 +0000
commit3eafbbfdba2fe54c82e8a5a163b3f348af2f3573 (patch)
tree4dd715f20372c38329868b24bbc15652247afed0
parentcf3b9d22c8e469db908248cf514fc52369547658 (diff)
downloaddrakx-3eafbbfdba2fe54c82e8a5a163b3f348af2f3573.tar
drakx-3eafbbfdba2fe54c82e8a5a163b3f348af2f3573.tar.gz
drakx-3eafbbfdba2fe54c82e8a5a163b3f348af2f3573.tar.bz2
drakx-3eafbbfdba2fe54c82e8a5a163b3f348af2f3573.tar.xz
drakx-3eafbbfdba2fe54c82e8a5a163b3f348af2f3573.zip
do summaryBefore() only once (this will reduce damage caused in bugzilla #18277)
-rw-r--r--perl-install/install2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index ff8f00724..1725c799e 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -247,7 +247,7 @@ sub miscellaneous {
#------------------------------------------------------------------------------
sub summary {
my ($auto) = @_;
- installStepsCall($o, $auto, 'summaryBefore');
+ installStepsCall($o, $auto, 'summaryBefore') if $o->{steps}{summary}{entered} == 1;
installStepsCall($o, $auto, 'summary');
installStepsCall($o, $auto, 'summaryAfter');
}