From de33b1a2c399d8169f78eea7abcf2d85844b88ba Mon Sep 17 00:00:00 2001 From: Vince Date: Fri, 22 Oct 2021 09:18:31 +0800 Subject: [PATCH] Update install.sh update --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 6f5c91e..0345505 100755 --- a/install.sh +++ b/install.sh @@ -323,7 +323,8 @@ updating_grub() { if [[ -f /boot/efi/EFI/fedora/grub.cfg ]]; then prompt -i "Find config file on /boot/efi/EFI/fedora/grub.cfg ...\n" grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg - elif [[ -f /boot/grub2/grub.cfg ]]; then + fi + if [[ -f /boot/grub2/grub.cfg ]]; then prompt -i "Find config file on /boot/grub2/grub.cfg ...\n" grub2-mkconfig -o /boot/grub2/grub.cfg fi