diff options
author | root <root@rshg054.dnsready.net> | 2012-08-06 03:31:46 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-08-06 03:31:46 +0000 |
commit | 1613e8d1c11997f5507d90ecfc05213199aca3ed (patch) | |
tree | aeef74b04a25b91dfb93ed3f34f6cc4acffecac6 /community/xbmc/xbmc.install | |
parent | 5cb978c42b6c6444161fa41121ea5f07579404bc (diff) |
Mon Aug 6 03:31:46 UTC 2012
Diffstat (limited to 'community/xbmc/xbmc.install')
-rw-r--r-- | community/xbmc/xbmc.install | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/community/xbmc/xbmc.install b/community/xbmc/xbmc.install new file mode 100644 index 000000000..213889cdd --- /dev/null +++ b/community/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 + /bin/true +} + +post_upgrade() { + post_install $1 + /bin/true +} + +post_remove() { + post_install $1 + /bin/true +} |