summarylogtreecommitdiffstats
path: root/update-vlc-plugin-cache.hook
diff options
context:
space:
mode:
authortytan6522021-05-11 21:45:24 +0200
committertytan6522021-05-11 21:45:24 +0200
commit635b74dbeadd8a64366116f535c561ad986edebc (patch)
tree6700fb5bdd51afa7d209039a5953fc0254e15f4d /update-vlc-plugin-cache.hook
downloadaur-635b74dbeadd8a64366116f535c561ad986edebc.tar.gz
build: initial commit
Diffstat (limited to 'update-vlc-plugin-cache.hook')
-rw-r--r--update-vlc-plugin-cache.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/update-vlc-plugin-cache.hook b/update-vlc-plugin-cache.hook
new file mode 100644
index 000000000000..d651e4ef37a7
--- /dev/null
+++ b/update-vlc-plugin-cache.hook
@@ -0,0 +1,11 @@
+[Trigger]
+Type = Path
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/lib/vlc/plugins/*
+
+[Action]
+Description = Updating the vlc plugin cache...
+When = PostTransaction
+Exec = /usr/lib/vlc/vlc-cache-gen /usr/lib/vlc/plugins