From f3b5e2783e7bea97832d6d8e5b45423d8f878018 Mon Sep 17 00:00:00 2001 From: Vince Date: Sat, 21 Nov 2020 21:02:46 +0800 Subject: [PATCH] Update install.sh --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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