summaryrefslogtreecommitdiff
path: root/audio/fantasia/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2011-08-26 19:40:19 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-08-26 19:40:19 -0300
commit73146b17ea0b902af362ef285f5360b677f18e7d (patch)
tree9a9a31f54a8b41eb835f6bf3bce916cf3e16a212 /audio/fantasia/doinst.sh
parent18894ebd610a25353fcab0e38ffd261f21a10523 (diff)
downloadslackbuilds-73146b17ea0b902af362ef285f5360b677f18e7d.tar.gz
audio/fantasia: Added (Java-based GUI frontend for LinuxSampler)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'audio/fantasia/doinst.sh')
-rw-r--r--audio/fantasia/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/audio/fantasia/doinst.sh b/audio/fantasia/doinst.sh
new file mode 100644
index 0000000000..1f8ff67ded
--- /dev/null
+++ b/audio/fantasia/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
+