diff --git a/etc/pacman.d/hooks/grub-mkconfig.hook b/etc/pacman.d/hooks/grub-mkconfig.hook new file mode 100644 index 0000000..e572e32 --- /dev/null +++ b/etc/pacman.d/hooks/grub-mkconfig.hook @@ -0,0 +1,9 @@ +[Trigger] +Operation = Upgrade +Type = Package +Target = grub + +[Action] +Description = Executing grub-mkconfig ... +When = PostTransaction +Exec = /bin/sh -c "grub-mkconfig -o /boot/grub/grub.cfg" \ No newline at end of file