nixos/install-grub: Fix Indentation

This commit is contained in:
William A. Kennington III 2014-08-29 08:41:07 -07:00
parent 4428178847
commit 7d16a429f0

View File

@ -158,7 +158,7 @@ my $grubStore = GrubFs("/nix");
# We don't need to copy if we can read the kernels directly # We don't need to copy if we can read the kernels directly
if ($grubStore->search ne "") { if ($grubStore->search ne "") {
$copyKernels = 0; $copyKernels = 0;
} }
# Generate the header. # Generate the header.
@ -275,8 +275,8 @@ sub addEntry {
$conf .= " " . ($xen ? "module" : "initrd") . " $initrd\n\n"; $conf .= " " . ($xen ? "module" : "initrd") . " $initrd\n\n";
} else { } else {
$conf .= "menuentry \"$name\" {\n"; $conf .= "menuentry \"$name\" {\n";
$conf .= $grubBoot->search . "\n"; $conf .= $grubBoot->search . "\n";
$conf .= $grubStore->search . "\n"; $conf .= $grubStore->search . "\n";
$conf .= " $extraPerEntryConfig\n" if $extraPerEntryConfig; $conf .= " $extraPerEntryConfig\n" if $extraPerEntryConfig;
$conf .= " multiboot $xen $xenParams\n" if $xen; $conf .= " multiboot $xen $xenParams\n" if $xen;
$conf .= " " . ($xen ? "module" : "linux") . " $kernel $kernelParams\n"; $conf .= " " . ($xen ? "module" : "linux") . " $kernel $kernelParams\n";