summaryrefslogtreecommitdiff
path: root/staging/vlc/vlc.install
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-06-05 10:41:44 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-06-05 10:41:44 -0300
commit957557945e9be0a00d5153afc17f69ffe751426f (patch)
tree4d321dff70c4fdd1ee3fa5d64db0fdd0dc1dd2e8 /staging/vlc/vlc.install
parentcbba2111ae585b17594535ec01f13bac66937331 (diff)
parent67db4cf68dbdb364c4dee1599294d7701f3c3b0a (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/collectd/PKGBUILD community/exim/PKGBUILD community/nsd/PKGBUILD extra/phonon-vlc/PKGBUILD
Diffstat (limited to 'staging/vlc/vlc.install')
-rw-r--r--staging/vlc/vlc.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/staging/vlc/vlc.install b/staging/vlc/vlc.install
new file mode 100644
index 000000000..dc4961cae
--- /dev/null
+++ b/staging/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
+}