summaryrefslogtreecommitdiffstats
path: root/audio/lastfm/doinst.sh
diff options
context:
space:
mode:
author Larry Hajali <larryhaja@gmail.com>2014-01-02 09:53:37 +0700
committer Erik Hanson <erik@slackbuilds.org>2014-01-07 11:13:59 -0600
commitc0d688edf0a7ca2284f73345c588962ac0b4bc47 (patch)
tree61f0f59a1c04165953111f309fa6adf078ef6582 /audio/lastfm/doinst.sh
parent09ebaf40e08c33261c8cbf047c1ff2e771cf9b9f (diff)
downloadslackbuilds-c0d688edf0a7ca2284f73345c588962ac0b4bc47.tar.gz
slackbuilds-c0d688edf0a7ca2284f73345c588962ac0b4bc47.tar.xz
audio/lastfm: Added (Official player from Last.fm).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/lastfm/doinst.sh')
-rw-r--r--audio/lastfm/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/audio/lastfm/doinst.sh b/audio/lastfm/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/audio/lastfm/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