summarylogtreecommitdiffstats
path: root/update-vlc-plugin-cache.hook
diff options
context:
space:
mode:
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..3fbf13d9a1db
--- /dev/null
+++ b/update-vlc-plugin-cache.hook
@@ -0,0 +1,11 @@
+[Trigger]
+Type = File
+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