blob: f14acaa7f8df85752ae0fdf6930f46dc5295c7fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
[Trigger]
Type = Package
Operation = Install
Operation = Upgrade
Target = highlight
[Action]
Description = Upgrading 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/sh -c '/usr/bin/mkdir -p /usr/share/webapps/cgit && /usr/bin/highlight -O xhtml --print-style -o /usr/share/webapps/cgit/highlight.css'
Depends = highlight
|