summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-19 18:56:25 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-19 18:56:25 +0000
commit1107715d6a42562eb1e901e2abedf5c02af0b6ab (patch)
tree6207ffb8e6f376999c07abcaa6b31d6719b933c2
parent03e538822ee081d807b279738fe39e731a351982 (diff)
downloaddrakx-1107715d6a42562eb1e901e2abedf5c02af0b6ab.tar
drakx-1107715d6a42562eb1e901e2abedf5c02af0b6ab.tar.gz
drakx-1107715d6a42562eb1e901e2abedf5c02af0b6ab.tar.bz2
drakx-1107715d6a42562eb1e901e2abedf5c02af0b6ab.tar.xz
drakx-1107715d6a42562eb1e901e2abedf5c02af0b6ab.zip
(installBootloader) simplify
-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.*");