summaryrefslogtreecommitdiffstats
path: root/perl-install/install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-03-21 10:26:34 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-03-21 10:26:34 +0000
commit8a7b93cfc23f2cef362ae8930896a9887083be4e (patch)
tree9d240cb5f50396b9b9a4ba0956343c7282ea2d76 /perl-install/install
parentdbde2d7bc12f15e415c3ee1442e17aee899b86d7 (diff)
downloaddrakx-8a7b93cfc23f2cef362ae8930896a9887083be4e.tar
drakx-8a7b93cfc23f2cef362ae8930896a9887083be4e.tar.gz
drakx-8a7b93cfc23f2cef362ae8930896a9887083be4e.tar.bz2
drakx-8a7b93cfc23f2cef362ae8930896a9887083be4e.tar.xz
drakx-8a7b93cfc23f2cef362ae8930896a9887083be4e.zip
- when skipping bootloader installation, correctly say "None" in summary
(#39101) for this, setting $bootloader->{boot} to '', it's simple enough and seems to work nicely :)
Diffstat (limited to 'perl-install/install')
-rw-r--r--perl-install/install/NEWS2
-rw-r--r--perl-install/install/steps_interactive.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 9b6b654f6..1d08f91a6 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,5 @@
+- when skipping bootloader installation, correctly say "None" in summary
+ (#39101)
- correctly set country when given lang=xxx on /proc/cmdline
(regression introduced in 10.16) (#39104)
diff --git a/perl-install/install/steps_interactive.pm b/perl-install/install/steps_interactive.pm
index 9bdd47883..9fcc91370 100644
--- a/perl-install/install/steps_interactive.pm
+++ b/perl-install/install/steps_interactive.pm
@@ -824,7 +824,7 @@ sub summary {
label => N("Bootloader"),
val => sub {
#-PO: example: lilo-graphic on /dev/hda1
- N("%s on %s", $o->{bootloader}{method}, $o->{bootloader}{boot});
+ $o->{bootloader}{boot} ? N("%s on %s", $o->{bootloader}{method}, $o->{bootloader}{boot}) : N("None");
},
clicked => sub {
any::setupBootloader($o, $o->{bootloader}, $o->{all_hds}, $o->{fstab}, $o->{security}) or return;