From 1613e8d1c11997f5507d90ecfc05213199aca3ed Mon Sep 17 00:00:00 2001 From: root Date: Mon, 6 Aug 2012 03:31:46 +0000 Subject: Mon Aug 6 03:31:46 UTC 2012 --- community/xbmc/xbmc.install | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 community/xbmc/xbmc.install (limited to 'community/xbmc/xbmc.install') 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 +} -- cgit v1.2.3-54-g00ecf