summaryrefslogtreecommitdiff
path: root/audio/decibel-audio-player/doinst.sh
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2015-05-28 19:36:54 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-05-31 10:36:18 +0700
commitbde21007fba80e04c250391056248ff37cf8afd0 (patch)
tree7c631f960a3443455fe70167ea8a47362fdcf56f /audio/decibel-audio-player/doinst.sh
parent6e212a2445deee3caf69add8c068b0e3b0840636 (diff)
downloadslackbuilds-bde21007fba80e04c250391056248ff37cf8afd0.tar.gz
audio/decibel-audio-player: Added (GTK+ audio player for GNU/Linux).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/decibel-audio-player/doinst.sh')
-rw-r--r--audio/decibel-audio-player/doinst.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/audio/decibel-audio-player/doinst.sh b/audio/decibel-audio-player/doinst.sh
new file mode 100644
index 0000000000..9a8ded3c60
--- /dev/null
+++ b/audio/decibel-audio-player/doinst.sh
@@ -0,0 +1,7 @@
+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