[Trigger] Operation = Install Operation = Upgrade Operation = Remove Target = test Type = Package [Action] Depends = bash Description = Running the pre-transaction hook for the test package 0.1.0-1... Exec = /usr/bin/bash -c 'printf "This is a pre-transaction!\n"' When = PreTransaction