nixos/grub: fix editor check
This commit is contained in:
parent
237b543c53
commit
c75d7d2f8c
@ -356,11 +356,11 @@ else {
|
|||||||
if ($suffix eq ".jpg") {
|
if ($suffix eq ".jpg") {
|
||||||
$suffix = ".jpeg";
|
$suffix = ".jpeg";
|
||||||
}
|
}
|
||||||
if ($backgroundColor) {
|
if ($backgroundColor) {
|
||||||
$conf .= "
|
$conf .= "
|
||||||
background_color '$backgroundColor'
|
background_color '$backgroundColor'
|
||||||
";
|
";
|
||||||
}
|
}
|
||||||
copy $splashImage, "$bootPath/background$suffix" or die "cannot copy $splashImage to $bootPath: $!\n";
|
copy $splashImage, "$bootPath/background$suffix" or die "cannot copy $splashImage to $bootPath: $!\n";
|
||||||
$conf .= "
|
$conf .= "
|
||||||
insmod " . substr($suffix, 1) . "
|
insmod " . substr($suffix, 1) . "
|
||||||
|
Loading…
Reference in New Issue
Block a user