summaryrefslogtreecommitdiff
path: root/multimedia/OpenPHT/doinst.sh
diff options
context:
space:
mode:
authorPhilip van der Hoeven <philip@vd-hoeven.nl>2016-08-04 18:50:31 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-08-04 18:50:31 +0700
commit3ddc72a78693994c4e30780b8689d1a5bcf2f936 (patch)
tree710ca7ed66d567bec99c019321e5300642d18aa4 /multimedia/OpenPHT/doinst.sh
parent4ecd2ff5027a2f233aa12274ea2b8627061c814f (diff)
downloadslackbuilds-3ddc72a78693994c4e30780b8689d1a5bcf2f936.tar.gz
multimedia/OpenPHT: Added (Plex client).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/OpenPHT/doinst.sh')
-rw-r--r--multimedia/OpenPHT/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/multimedia/OpenPHT/doinst.sh b/multimedia/OpenPHT/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/multimedia/OpenPHT/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