summaryrefslogtreecommitdiff
path: root/audio/last.fm/doinst.sh
diff options
context:
space:
mode:
authorMichael Johnson <youngmug@animeneko.net>2010-05-12 17:37:07 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 17:37:07 +0200
commit1ee225c0713ed0cb3824cd2dbb1e86044a1a68ae (patch)
treed6aac3b4830b212faf35f381248d568d17bc6f92 /audio/last.fm/doinst.sh
parent85fa8fc31c3d26ce070497645e10897d71b1b375 (diff)
downloadslackbuilds-1ee225c0713ed0cb3824cd2dbb1e86044a1a68ae.tar.gz
audio/last.fm: Updated for version 1.5.1.31879
Diffstat (limited to 'audio/last.fm/doinst.sh')
-rw-r--r--audio/last.fm/doinst.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/audio/last.fm/doinst.sh b/audio/last.fm/doinst.sh
index 22d4849bce..1f8ff67ded 100644
--- a/audio/last.fm/doinst.sh
+++ b/audio/last.fm/doinst.sh
@@ -1,5 +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 [ -x usr/bin/update-desktop-database ]; then
- usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
+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