diff options
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 +} |