diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-03-19 18:56:25 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-03-19 18:56:25 +0000 |
commit | 305e43853e0c3d9b6c63e10a28ab1c2f9d85c4e2 (patch) | |
tree | 6207ffb8e6f376999c07abcaa6b31d6719b933c2 /perl-install | |
parent | 8f76e0c29a53d860605b2d25610c62a79aa71fdc (diff) | |
download | drakx-backup-do-not-use-305e43853e0c3d9b6c63e10a28ab1c2f9d85c4e2.tar drakx-backup-do-not-use-305e43853e0c3d9b6c63e10a28ab1c2f9d85c4e2.tar.gz drakx-backup-do-not-use-305e43853e0c3d9b6c63e10a28ab1c2f9d85c4e2.tar.bz2 drakx-backup-do-not-use-305e43853e0c3d9b6c63e10a28ab1c2f9d85c4e2.tar.xz drakx-backup-do-not-use-305e43853e0c3d9b6c63e10a28ab1c2f9d85c4e2.zip |
(installBootloader) simplify
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/any.pm | 5 |
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.*"); |