[Trigger] Type = Package Operation = Install Operation = Upgrade Target = highlight [Action] Description = Upgrade highlight.css for cgit syntax highlighting... When = PostTransaction # mycgit.css import this highlight.css and cgit.css, for syntax-highlighting-edited.sh # because cgit.css is not pacman backup file and will be overwritten when upgrade cgit Exec = /usr/bin/highlight -O xhtml --print-style -o /usr/share/webapps/cgit/highlight.css Depends = highlight Depends = cgit