aboutsummaryrefslogtreecommitdiff
path: root/audio/qmmp-plugin-pack/doinst.sh
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2015-04-20 08:29:25 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-04-20 08:29:25 +0700
commit329a748e6700053f50d994a1516f2c66cc4af428 (patch)
tree3e19dbb14aa59df2cfc7122bf4e4a65f8341fc54 /audio/qmmp-plugin-pack/doinst.sh
parent672ded4101132b0702d1b80ea808d46c04c2ffd6 (diff)
audio/qmmp-plugin-pack: Added (additional plugins for Qmmp).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/qmmp-plugin-pack/doinst.sh')
-rw-r--r--audio/qmmp-plugin-pack/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/audio/qmmp-plugin-pack/doinst.sh b/audio/qmmp-plugin-pack/doinst.sh
new file mode 100644
index 0000000000000..3e5691a052b5b
--- /dev/null
+++ b/audio/qmmp-plugin-pack/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