From 9527f1c408e37075728f74c0399aee49054952fb Mon Sep 17 00:00:00 2001 From: Vince Date: Sat, 16 Oct 2021 20:30:48 +0800 Subject: [PATCH] Fixed #143 --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index fb9b222..e2609df 100755 --- a/install.sh +++ b/install.sh @@ -313,7 +313,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