summaryrefslogtreecommitdiff
path: root/community-testing/xbmc/xbmc.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-09 00:33:26 -0700
committerroot <root@rshg054.dnsready.net>2012-10-09 00:33:26 -0700
commit965fe5dd2bc0fae6b53c10d880c15f494dd589ac (patch)
tree910883dffa913262b28fb7a0e3bc41c3325b1dd2 /community-testing/xbmc/xbmc.install
parent962d1e81a62d7259ccb686da1a44de2bb28e73a5 (diff)
Tue Oct 9 00:33:25 PDT 2012
Diffstat (limited to 'community-testing/xbmc/xbmc.install')
-rw-r--r--community-testing/xbmc/xbmc.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/community-testing/xbmc/xbmc.install b/community-testing/xbmc/xbmc.install
new file mode 100644
index 000000000..862508e73
--- /dev/null
+++ b/community-testing/xbmc/xbmc.install
@@ -0,0 +1,15 @@
+post_install() {
+ [[ $(type -p gtk-update-icon-cache) ]] && usr/bin/gtk-update-icon-cache -qtf usr/share/icons/hicolor
+ [[ $(type -p update-desktop-database) ]] && usr/bin/update-desktop-database -q usr/share/applications
+ true
+}
+
+post_upgrade() {
+ post_install $1
+ true
+}
+
+post_remove() {
+ post_install $1
+ true
+}