summaryrefslogtreecommitdiff
path: root/audio/qmpdclient/doinst.sh
diff options
context:
space:
mode:
authorcrocket <crockabiscuit@gmail.com>2011-08-10 09:13:49 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-08-10 09:13:49 -0300
commit17a576d2275472fe25361999255ee2c916040b5a (patch)
tree5b54d2d512ac1ee69228530e034116fcf8bf6052 /audio/qmpdclient/doinst.sh
parentd3f5c7ec20fc36afaf9628753caa8ab9b93f5d96 (diff)
downloadslackbuilds-17a576d2275472fe25361999255ee2c916040b5a.tar.gz
audio/qmpdclient: Added (Qt4 mpd client)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'audio/qmpdclient/doinst.sh')
-rw-r--r--audio/qmpdclient/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/audio/qmpdclient/doinst.sh b/audio/qmpdclient/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/audio/qmpdclient/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