From 0d7ea30481149525b5c59d43e9eb451e62f5f0f9 Mon Sep 17 00:00:00 2001 From: OneRandom1509 Date: Tue, 12 Mar 2024 14:59:50 +0530 Subject: [PATCH] chore: changed mkconfig directory to boot/grub2/grub.cfg --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 9598699..6d69835 100755 --- a/install.sh +++ b/install.sh @@ -347,9 +347,9 @@ updating_grub() { grub2-mkconfig -o /boot/grub2/grub.cfg # Check for Fedora (regular or Atomic) elif has_command dnf || has_command rpm-ostree; then - if [[ -f /etc/grub2.cfg ]]; then - prompt -s "Find config file on /etc/grub2.cfg ...\n" - grub2-mkconfig -o /etc/grub2.cfg + if [[ -f /boot/grub2/grub.cfg ]]; then + prompt -s "Find config file on /boot/grub2/grub.cfg ...\n" + grub2-mkconfig -o /boot/grub2/grub.cfg fi # Check for Bios if [[ -f /boot/grub2/grub.cfg ]]; then