mirror of
https://github.com/vinceliuice/grub2-themes.git
synced 2024-12-25 09:05:35 +01:00
Update install.sh
This commit is contained in:
parent
8f4becc1a5
commit
c6b7fdfc8f
@ -307,7 +307,13 @@ updating_grub() {
|
||||
elif has_command zypper; then
|
||||
grub2-mkconfig -o /boot/grub2/grub.cfg
|
||||
elif has_command dnf; then
|
||||
grub2-mkconfig -o /boot/grub2/grub.cfg || grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
|
||||
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
|
||||
prompt -i "Find config file on /boot/grub2/grub.cfg ...\n"
|
||||
grub2-mkconfig -o /boot/grub2/grub.cfg
|
||||
fi
|
||||
fi
|
||||
|
||||
# Success message
|
||||
|
Loading…
Reference in New Issue
Block a user