Merge pull request #161 from PatrickJosh/fix-fedora-34-and-later
Update install.sh to fix installation on Fedora 34 and later.
This commit is contained in:
commit
20a8f12488
1 changed files with 1 additions and 1 deletions
|
@ -312,7 +312,7 @@ updating_grub() {
|
|||
elif has_command zypper; then
|
||||
grub2-mkconfig -o /boot/grub2/grub.cfg
|
||||
elif has_command dnf; then
|
||||
if [[ -f /boot/efi/EFI/fedora/grub.cfg ]]; then
|
||||
if [[ -f /boot/efi/EFI/fedora/grub.cfg ]] && (( $(cat /etc/fedora-release | awk '{print $3}') < 34 )); then
|
||||
prompt -i "Find config file on /boot/efi/EFI/fedora/grub.cfg ...\n"
|
||||
grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue