summaryrefslogtreecommitdiff
path: root/multimedia/kodi/doinst.sh
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2015-02-05 08:11:27 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-02-05 08:11:27 +0700
commit43bf5fb2001a989a911043c15f23927e670b8697 (patch)
tree3787f14c3ca951dd44bd7b87cf8e55cc87d51545 /multimedia/kodi/doinst.sh
parentda4682f47d40c3ea9f5bd3660adfaed61f71d422 (diff)
downloadslackbuilds-43bf5fb2001a989a911043c15f23927e670b8697.tar.gz
multimedia/kodi: Added (Multi-platform Media Center).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/kodi/doinst.sh')
-rw-r--r--multimedia/kodi/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/multimedia/kodi/doinst.sh b/multimedia/kodi/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/multimedia/kodi/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi