summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-05-07 09:12:31 -0400
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-02-10 23:23:03 +0100
commite5ea3b47880c2e034f75b94739133b044209e714 (patch)
tree451ede557449ea41afbb4d10494890e88f26cc15
parent205198fbd2e4802d9faf079e46d132aee63d0380 (diff)
downloaddrakx-e5ea3b47880c2e034f75b94739133b044209e714.tar
drakx-e5ea3b47880c2e034f75b94739133b044209e714.tar.gz
drakx-e5ea3b47880c2e034f75b94739133b044209e714.tar.bz2
drakx-e5ea3b47880c2e034f75b94739133b044209e714.tar.xz
drakx-e5ea3b47880c2e034f75b94739133b044209e714.zip
do not run keytab-lilo.pl for grub*
thus fixing a warning: "program not found: keytab-lilo.pl"
-rw-r--r--perl-install/bootloader.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index 9fd714929..6ffca6267 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -2125,7 +2125,7 @@ sub install {
die N("You cannot install the bootloader on a %s partition\n", $part->{fs_type})
if $part->{fs_type} eq 'xfs';
}
- $bootloader->{keytable} = keytable($bootloader->{keytable});
+ $bootloader->{keytable} = keytable($bootloader->{keytable}) if $bootloader->{method} eq 'lilo';
action($bootloader, 'install', $all_hds);
}