aboutsummaryrefslogtreecommitdiff
path: root/audio/sayonara-player/doinst.sh
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2016-09-18 16:53:00 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-18 16:53:23 +0700
commitb55fca588e810575ce1beeb45dc3f7ab7a4082ca (patch)
tree20a0a311e6cfc4cd5594ed5016efe95f215bcd31 /audio/sayonara-player/doinst.sh
parent56e095f5ec18141271d24a217278e949826f18c7 (diff)
audio/sayonara-player: Added (small, clear and fast audio player).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/sayonara-player/doinst.sh')
-rw-r--r--audio/sayonara-player/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/sayonara-player/doinst.sh b/audio/sayonara-player/doinst.sh
new file mode 100644
index 000000000000..9424ce43ff57
--- /dev/null
+++ b/audio/sayonara-player/doinst.sh
@@ -0,0 +1,13 @@
+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-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/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