nixos/grub: fix editor check

This commit is contained in:
Sandro Jäckel 2021-02-18 22:25:57 +01:00
parent 237b543c53
commit c75d7d2f8c
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -356,11 +356,11 @@ else {
if ($suffix eq ".jpg") {
$suffix = ".jpeg";
}
if ($backgroundColor) {
$conf .= "
background_color '$backgroundColor'
";
}
if ($backgroundColor) {
$conf .= "
background_color '$backgroundColor'
";
}
copy $splashImage, "$bootPath/background$suffix" or die "cannot copy $splashImage to $bootPath: $!\n";
$conf .= "
insmod " . substr($suffix, 1) . "