[Trigger] Operation = Install Operation = Upgrade Type = File Target = * [Action] Description = TEST When = PostTransaction Exec = /bin/bash -c 'while read -r f; do printf "$(date) ${f}\n" >> /var/tmp/pacman-hook-test.txt; done' NeedsTargets