summaryrefslogtreecommitdiff
path: root/testing/vlc/vlc.install
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-15 22:59:36 +0000
committerroot <root@rshg047.dnsready.net>2011-06-15 22:59:36 +0000
commitebe74a263db3899367e12d936f908cdfdee7ec15 (patch)
tree48d62da97d7807b3d380c3902a21ae98340b0ea6 /testing/vlc/vlc.install
parentba3afb3907fc927bd08713613d4a30a9479c715c (diff)
Wed Jun 15 22:59:36 UTC 2011
Diffstat (limited to 'testing/vlc/vlc.install')
-rw-r--r--testing/vlc/vlc.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/vlc/vlc.install b/testing/vlc/vlc.install
new file mode 100644
index 000000000..4a1091bc5
--- /dev/null
+++ b/testing/vlc/vlc.install
@@ -0,0 +1,18 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ usr/lib/vlc/vlc-cache-gen -f usr/lib/vlc/plugins
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ rm -f usr/lib/vlc/plugins/plugins-*.dat
+}
+
+post_remove() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}