Update install.sh

This commit is contained in:
Vince 2020-11-21 21:02:46 +08:00
parent d8dfb0f609
commit f3b5e2783e

View File

@ -326,7 +326,7 @@ updating_grub() {
elif has_command zypper; then
grub2-mkconfig -o /boot/grub2/grub.cfg
elif has_command dnf; then
grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
grub2-mkconfig -o /boot/grub2/grub.cfg || grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
fi
# Success message