Fix whitespace

This commit is contained in:
Eelco Dolstra 2012-07-30 13:49:10 -04:00
parent a559a2a606
commit 174d6a07e0

View File

@ -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");