From 1107715d6a42562eb1e901e2abedf5c02af0b6ab Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 19 Mar 2012 18:56:25 +0000 Subject: (installBootloader) simplify --- perl-install/any.pm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/perl-install/any.pm b/perl-install/any.pm index 47b6d2f60..ea493cc29 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -248,9 +248,8 @@ sub installBootloader { my ($in, $b, $all_hds) = @_; return if detect_devices::is_xbox(); - if (arch() =~ /mips|arm/) { - return 1; - } + return 1 if arch() =~ /mips|arm/; + install_bootloader_pkgs($in->do_pkgs, $b); eval { run_program::rooted($::prefix, 'echo | lilo -u') } if $::isInstall && !$::o->{isUpgrade} && -e "$::prefix/etc/lilo.conf" && glob("$::prefix/boot/boot.*"); -- cgit v1.2.1