diff options
Diffstat (limited to 'etc/pacman.d/hooks/highlight-css.hook')
-rw-r--r-- | etc/pacman.d/hooks/highlight-css.hook | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/pacman.d/hooks/highlight-css.hook b/etc/pacman.d/hooks/highlight-css.hook index e3411b7b..6eca190c 100644 --- a/etc/pacman.d/hooks/highlight-css.hook +++ b/etc/pacman.d/hooks/highlight-css.hook @@ -9,6 +9,5 @@ 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 +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 -Depends = cgit |