config/root/etc/pacman.d/hooks/update-grub.hook
2024-07-24 18:42:17 -04:00

11 lines
299 B
Plaintext

[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'