[Trigger] Operation = Install Operation = Upgrade Operation = Remove Type = Package Target = * [Action] Description = Looking for pacnew and pacsave files... When = PostTransaction Exec = find / -regextype posix-extended -regex ".+\.pac(new|save)" 2> /dev/null && echo 'You should run pacdiff now'