diff --git a/install.sh b/install.sh index 2e16e87..dbf2ce0 100755 --- a/install.sh +++ b/install.sh @@ -326,7 +326,7 @@ updating_grub() { elif has_command zypper; then grub2-mkconfig -o /boot/grub2/grub.cfg elif has_command dnf; then - grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg + grub2-mkconfig -o /boot/grub2/grub.cfg || grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg fi # Success message