summaryrefslogtreecommitdiffstats
path: root/perl-install/install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-08-27 10:47:58 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-08-27 10:47:58 +0000
commit71164e5326401fb4152398479f3ca0c4db5e4956 (patch)
treec23dc3e0d9c65a9be679359ba4ff35bb1060ea39 /perl-install/install
parent0061f0458515649eca323d134a603b79f8b6d28a (diff)
downloaddrakx-71164e5326401fb4152398479f3ca0c4db5e4956.tar
drakx-71164e5326401fb4152398479f3ca0c4db5e4956.tar.gz
drakx-71164e5326401fb4152398479f3ca0c4db5e4956.tar.bz2
drakx-71164e5326401fb4152398479f3ca0c4db5e4956.tar.xz
drakx-71164e5326401fb4152398479f3ca0c4db5e4956.zip
- fix summary in text mode (#32858)
(regression introduced by "User Management" which has no val)
Diffstat (limited to 'perl-install/install')
-rw-r--r--perl-install/install/NEWS1
-rw-r--r--perl-install/install/steps_interactive.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 3c4795ea3..ed77d7d5a 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,4 @@
+- fix summary in text mode (#32858)
- fix loading linux software raid (mdadm) kernel modules
(after rename raid5&raid6 -> raid456)
- diskdrake
diff --git a/perl-install/install/steps_interactive.pm b/perl-install/install/steps_interactive.pm
index e6bc8a1de..c7fcb8bf4 100644
--- a/perl-install/install/steps_interactive.pm
+++ b/perl-install/install/steps_interactive.pm
@@ -728,7 +728,7 @@ sub summary_prompt {
foreach (@$l) {
my $val = $_->{val};
- ($_->{format}, $_->{val}) = (sub { $val->() || N("not configured") }, '');
+ ($_->{format}, $_->{val}) = (sub { $val && $val->() || N("not configured") }, '');
}
$o->ask_from_({