setup-cockpit/dotfiles/pacman_hooks/pacdiff.hook

11 lines
302 B
Text

[Trigger]
Operation = Install
Operation = Upgrade
Operation = Remove
Type = Package
Target = *
[Action]
Description = Looking for pacnew and pacsave files...
When = PostTransaction
Exec = /bin/sh -c '/usr/bin/find /etc -regextype posix-extended -regex ".+\.pac(new|save)" 2>/dev/null; echo "=> Done"'