diff options
author | Michael Johnson <youngmug@animeneko.net> | 2010-05-12 17:37:07 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-12 17:37:07 +0200 |
commit | 1ee225c0713ed0cb3824cd2dbb1e86044a1a68ae (patch) | |
tree | d6aac3b4830b212faf35f381248d568d17bc6f92 /audio/last.fm/doinst.sh | |
parent | 85fa8fc31c3d26ce070497645e10897d71b1b375 (diff) | |
download | slackbuilds-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.sh | 9 |
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 |