From 174d6a07e04bb3697e3389003484ee13945d208a Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 30 Jul 2012 13:49:10 -0400 Subject: [PATCH] Fix whitespace --- modules/system/boot/loader/grub/install-grub.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/system/boot/loader/grub/install-grub.pl b/modules/system/boot/loader/grub/install-grub.pl index 99bf171c778..54f91b0f598 100644 --- a/modules/system/boot/loader/grub/install-grub.pl +++ b/modules/system/boot/loader/grub/install-grub.pl @@ -105,7 +105,7 @@ else { "; if ($splashImage) { - # FIXME: GRUB 1.97 doesn't resize the background image if it + # FIXME: GRUB 1.97 doesn't resize the background image if it # doesn't match the video resolution. copy $splashImage, "/boot/background.png" or die "cannot copy $splashImage to /boot\n"; $conf .= " @@ -193,7 +193,7 @@ $conf .= "$extraEntries\n" unless $extraEntriesBeforeNixOS; $conf .= "submenu \"NixOS - Old configurations\" {\n" if $grubVersion == 2; sub nrFromGen { my ($x) = @_; $x =~ /system-(.*)-link/; return $1; } - + my @links = sort { nrFromGen($b) <=> nrFromGen($a) } (glob "/nix/var/nix/profiles/system-*-link");