aboutsummaryrefslogtreecommitdiff
path: root/audio/qmmp-qt5/doinst.sh
diff options
context:
space:
mode:
authorIsaac Yu <isaacyu1@isaacyu1.com>2018-04-29 23:04:16 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2018-05-01 22:01:19 +0100
commit6ad86d495b436b7fd529600515f356e967ff62b4 (patch)
tree052b431e72a7bfce88c4a6257ab61660f0dfdbea /audio/qmmp-qt5/doinst.sh
parent39ff1b4326caf000fc2fde1f201c10059f9d6cfd (diff)
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 0000000000000..4a25de5e6fbd1
--- /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
+