summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm5
1 files 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.*");