summarylogtreecommitdiffstats
path: root/vlc.install
diff options
context:
space:
mode:
Diffstat (limited to 'vlc.install')
-rw-r--r--vlc.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/vlc.install b/vlc.install
new file mode 100644
index 000000000000..f79bd95377a2
--- /dev/null
+++ b/vlc.install
@@ -0,0 +1,16 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ usr/lib/vlc/vlc-cache-gen -f /usr/lib/vlc/plugins
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ rm -f usr/lib/vlc/plugins/plugins-*.dat
+}
+
+post_remove() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}