[Trigger] Operation = Remove Operation = Upgrade Type = Package Target = linux Target = grub [Action] Depends = coreutils Depends = bash When = PostTransaction Exec = /usr/bin/bash -c '/usr/bin/update-bootloader'