mirror of
https://github.com/vinceliuice/grub2-themes.git
synced 2024-12-25 18:15:34 +01:00
Fixed #143
This commit is contained in:
parent
0b16634d79
commit
9527f1c408
@ -313,7 +313,8 @@ updating_grub() {
|
|||||||
if [[ -f /boot/efi/EFI/fedora/grub.cfg ]]; then
|
if [[ -f /boot/efi/EFI/fedora/grub.cfg ]]; then
|
||||||
prompt -i "Find config file on /boot/efi/EFI/fedora/grub.cfg ...\n"
|
prompt -i "Find config file on /boot/efi/EFI/fedora/grub.cfg ...\n"
|
||||||
grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
|
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"
|
prompt -i "Find config file on /boot/grub2/grub.cfg ...\n"
|
||||||
grub2-mkconfig -o /boot/grub2/grub.cfg
|
grub2-mkconfig -o /boot/grub2/grub.cfg
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user