[Mageia-dev] [soft-commits] [4324] Do not install bootloader when configuring X during install.
Thierry Vignaud
thierry.vignaud at gmail.com
Mon Apr 30 08:28:12 CEST 2012
On 30 April 2012 00:59, <root at mageia.org> wrote:
> - bootloader::action($bootloader, 'write', $all_hds);
> - bootloader::action($bootloader, 'when_config_changed');
> + # Do not install bootloader when configuring X during install.
> + # This will be done at end of summary to allow selecting where
> + # to install bootloader.
> + unless ($::isInstall) {
> + bootloader::action($bootloader, 'write', $all_hds);
> + bootloader::action($bootloader, 'when_config_changed');
> + }
> +
> 1;
> }
You did not run perl_checker as it would have told you the preferedd
style is "if !" over "unless" :-)
More information about the Mageia-dev
mailing list