summaryrefslogtreecommitdiffstats
path: root/audio/qmmp-qt5/doinst.sh
diff options
context:
space:
mode:
author Isaac Yu2018-04-30 00:04:16 +0200
committer David Spencer2018-05-01 23:01:19 +0200
commit6ad86d495b436b7fd529600515f356e967ff62b4 (patch)
tree052b431e72a7bfce88c4a6257ab61660f0dfdbea /audio/qmmp-qt5/doinst.sh
parent39ff1b4326caf000fc2fde1f201c10059f9d6cfd (diff)
downloadslackbuilds-6ad86d495b436b7fd529600515f356e967ff62b4.tar.gz
audio/qmmp-qt5: Added (QT based multimedia player).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'audio/qmmp-qt5/doinst.sh')
-rw-r--r--audio/qmmp-qt5/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/audio/qmmp-qt5/doinst.sh b/audio/qmmp-qt5/doinst.sh
new file mode 100644
index 0000000000..4a25de5e6f
--- /dev/null
+++ b/audio/qmmp-qt5/doinst.sh
@@ -0,0 +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 [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+