summaryrefslogtreecommitdiffstats
path: root/system/qtfm/doinst.sh
diff options
context:
space:
mode:
author Ole-André Rodlie <ole.andre.rodlie@gmail.com>2018-08-12 23:39:05 +0100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2018-08-18 08:39:46 +0700
commitbe69465523b50544d53f7b5b5d0fbe0050868eec (patch)
tree48846a595b38f3b7126aedd95f68ec0a4d44e116 /system/qtfm/doinst.sh
parent3089173896b885c9a685d15043af82286abd70ce (diff)
downloadslackbuilds-be69465523b50544d53f7b5b5d0fbe0050868eec.tar.gz
slackbuilds-be69465523b50544d53f7b5b5d0fbe0050868eec.tar.xz
system/qtfm: Updated for version 6.1.0 + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/qtfm/doinst.sh')
-rw-r--r--system/qtfm/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/qtfm/doinst.sh b/system/qtfm/doinst.sh
index 5fb28930db..aea0f894eb 100644
--- a/system/qtfm/doinst.sh
+++ b/system/qtfm/doinst.sh
@@ -1,3 +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 -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi