config/root/etc/pacman.d/hooks/update-grub.hook

11 lines
299 B
Plaintext
Raw Normal View History

2024-07-24 22:42:06 +00:00
[Trigger]
Operation = Install
Operation = Upgrade
Type = Package
Target = grub
[Action]
Description = "Updating GRUB..."
Depends = grub
When = PostTransaction
Exec = /bin/sh -c 'grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB && grub-mkconfig -o /boot/grub/grub.cfg'