summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-11-06 16:49:00 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-11-06 16:49:00 +0000
commit922d528b7664b8b885f596055bd25232f3df32a7 (patch)
treea6cb14b1f983b66b55f46fc6f04d2172e4b13b44 /perl-install/bootloader.pm
parent3021e910718c4702abe831c7aa53e8a7bf8b135f (diff)
downloaddrakx-922d528b7664b8b885f596055bd25232f3df32a7.tar
drakx-922d528b7664b8b885f596055bd25232f3df32a7.tar.gz
drakx-922d528b7664b8b885f596055bd25232f3df32a7.tar.bz2
drakx-922d528b7664b8b885f596055bd25232f3df32a7.tar.xz
drakx-922d528b7664b8b885f596055bd25232f3df32a7.zip
remove unneeded parentheses on the right side of infix if/foreach/unless
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index 91691d0ea..bd506f210 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -817,8 +817,8 @@ sub write_lilo_conf {
print F "timeout=", round(10 * $lilo->{timeout}) if $lilo->{timeout};
print F "serial=", $1 if get_append($lilo, 'console') =~ /ttyS(.*)/;
- print F "message=/boot/message" if (arch() !~ /ia64/);
- print F "menu-scheme=wb:bw:wb:bw" if (arch() !~ /ia64/);
+ print F "message=/boot/message" if arch() !~ /ia64/;
+ print F "menu-scheme=wb:bw:wb:bw" if arch() !~ /ia64/;
print F "ignore-table" if grep { $_->{unsafe} && $_->{table} } @{$lilo->{entries}};
@@ -868,7 +868,7 @@ sub install_lilo {
log::l("Installing boot loader...");
$::testing and return;
- run_program::rooted_or_die($::prefix, "lilo", "2>", "/tmp/.error") if (arch() !~ /ia64/);
+ run_program::rooted_or_die($::prefix, "lilo", "2>", "/tmp/.error") if arch() !~ /ia64/;
unlink "$::prefix/tmp/.error";
}