Merge pull request #143 from viric/grub_all

Making grub display 'All configurations', not 'Old'
This commit is contained in:
viric 2013-04-17 08:05:09 -07:00
commit 204f5a3f4c

View file

@ -194,7 +194,7 @@ $conf .= "$extraEntries\n" unless $extraEntriesBeforeNixOS;
$conf =~ s/\@bootRoot\@/$bootRoot/g;
# Add entries for all previous generations of the system profile.
$conf .= "submenu \"NixOS - Old configurations\" {\n" if $grubVersion == 2;
$conf .= "submenu \"NixOS - All configurations\" {\n" if $grubVersion == 2;
sub nrFromGen { my ($x) = @_; $x =~ /system-(.*)-link/; return $1; }