aboutsummaryrefslogtreecommitdiff
path: root/multimedia/plex-home-theater/doinst.sh
diff options
context:
space:
mode:
authorMarcel Saegebarth <marc@mos6581.de>2014-09-02 05:38:46 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-09-06 00:02:49 +0700
commit613c88e32e4fd468c58afeaf4e24e38d98ce4fea (patch)
treeda6809e2c958efd1bc2f9d899ee3bc82d74c0e2e /multimedia/plex-home-theater/doinst.sh
parent67ba3355148e6f47d718586a815b355b2bac4f43 (diff)
multimedia/plex-home-theater: Added (Media Center).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/plex-home-theater/doinst.sh')
-rw-r--r--multimedia/plex-home-theater/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/multimedia/plex-home-theater/doinst.sh b/multimedia/plex-home-theater/doinst.sh
new file mode 100644
index 0000000000000..3e5691a052b5b
--- /dev/null
+++ b/multimedia/plex-home-theater/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