summaryrefslogtreecommitdiff
path: root/audio/portmidi/doinst.sh
diff options
context:
space:
mode:
authorDavid Woodfall <info@davidwoodfall.co.uk>2010-06-14 00:34:14 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-06-14 03:18:18 -0500
commitfcb9757f17ad65c0e3d25b4a446d844ed82acb73 (patch)
tree0d94391af8bc215852593191f467ee36c32a272f /audio/portmidi/doinst.sh
parentf8ba736cc26e2b2b494cb2e2ea4af61a4e57615b (diff)
downloadslackbuilds-fcb9757f17ad65c0e3d25b4a446d844ed82acb73.tar.gz
audio/portmidi: Build fixes for x86_64
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'audio/portmidi/doinst.sh')
-rw-r--r--audio/portmidi/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/audio/portmidi/doinst.sh b/audio/portmidi/doinst.sh
new file mode 100644
index 0000000000..1f8ff67ded
--- /dev/null
+++ b/audio/portmidi/doinst.sh
@@ -0,0 +1,10 @@
+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
+