[Trigger] Operation = Install Operation = Upgrade Operation = Remove Type = Package Target = * [Action] Description = Check if anything's using outdated libs or kernel When = PostTransaction Exec = /usr/local/bin/arch-needs-restart