summaryrefslogtreecommitdiff
path: root/audio/sonic-visualiser/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2011-08-09 16:30:11 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-08-09 16:30:11 -0300
commit70f3daff01faa18272eee054a3ee186a09ebdba8 (patch)
tree9c9714fcb35024a3f18a72e60c00b4c7bc658d5b /audio/sonic-visualiser/doinst.sh
parentd2dd7e84f591d429b3a897b558f7c027d36f7e8a (diff)
downloadslackbuilds-70f3daff01faa18272eee054a3ee186a09ebdba8.tar.gz
audio/sonic-visualiser: Added (audio file visualiser)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'audio/sonic-visualiser/doinst.sh')
-rw-r--r--audio/sonic-visualiser/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/audio/sonic-visualiser/doinst.sh b/audio/sonic-visualiser/doinst.sh
new file mode 100644
index 0000000000..1f8ff67ded
--- /dev/null
+++ b/audio/sonic-visualiser/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
+