setup-cockpit/pacman_hooks/pacdiff.hook

11 lines
299 B
Text

[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'