Skip to content

Commit

Permalink
Merge pull request #181 from mariux64/mxgrub-fix-check-if-grub-is-ins…
Browse files Browse the repository at this point in the history
…talled-on-esp

mxgrub: Fix check if GRUB is installed on ESP
  • Loading branch information
pmenzel authored May 5, 2021
2 parents e7882da + 94a94bf commit 3c3d9f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mxgrub/mxgrub
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ sub cmd_install {

if (has_esp) {
sys 'mount','-L','ESP','/boot/efi';
if (-d '/boot/efi/EFI/grub/grubx64.efi') {
if (-e '/boot/efi/EFI/grub/grubx64.efi') {
print "GRUB for UEFI is already installed.\n";
}
else {
Expand Down

0 comments on commit 3c3d9f7

Please sign in to comment.