diff options
author | Thierry Vignaud <tv@mageia.org> | 2013-02-27 06:39:58 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2013-02-27 06:39:58 +0000 |
commit | 5b76050f1adf01c29ad5b08cf959614cbf76ec92 (patch) | |
tree | 4f326331c2cdaaaadda450c0f0b80234f9ec051b /perl-install/bootloader.pm | |
parent | ed8f00d30c4dc83d088f885f6b30784069defe5a (diff) | |
download | drakx-5b76050f1adf01c29ad5b08cf959614cbf76ec92.tar drakx-5b76050f1adf01c29ad5b08cf959614cbf76ec92.tar.gz drakx-5b76050f1adf01c29ad5b08cf959614cbf76ec92.tar.bz2 drakx-5b76050f1adf01c29ad5b08cf959614cbf76ec92.tar.xz drakx-5b76050f1adf01c29ad5b08cf959614cbf76ec92.zip |
(method_choices_raw) put grub2 before grub-legacy
thus fixing detecting grub2 if there's a remaining grub-legacy signature
basically reverting commit r6650 from 2012-12-09:
"(method_choices_raw) put grub-legacy before grub2"
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r-- | perl-install/bootloader.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index 6171a1618..d912a183f 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -1205,10 +1205,10 @@ sub method_choices_raw { arch() =~ /mips/ ? 'pmon2000' : arch() =~ /arm/ ? 'uboot' : ( - if_(!$b_prefix_mounted || whereis_binary('grub', $::prefix), - 'grub-graphic', 'grub-menu'), if_(!$b_prefix_mounted || whereis_binary('grub2-reboot', $::prefix), 'grub2'), + if_(!$b_prefix_mounted || whereis_binary('grub', $::prefix), + 'grub-graphic', 'grub-menu'), if_(!$b_prefix_mounted || whereis_binary('lilo', $::prefix), 'lilo-menu'), ); |