[Trigger] Type = File Operation = Install Operation = Upgrade Target = etc/grub.d/* [Action] Description = Updating grub menu When = PostTransaction Exec = /usr/bin/grub-mkconfig -o /boot/grub/grub.cfg