summaryrefslogtreecommitdiff
path: root/desktop/tint2/doinst.sh
diff options
context:
space:
mode:
authorDugan Chen <thedoogster [at] gmail [dot] com>2017-05-07 10:45:56 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-05-13 06:58:42 +0700
commita8d033ff08202d2499942bd08522f586dcf78532 (patch)
tree039d0b94dd01ef07afd0ef3f9ff489014efb12c4 /desktop/tint2/doinst.sh
parent12bd84e97eb313946b511b76c2cab95910a22093 (diff)
downloadslackbuilds-a8d033ff08202d2499942bd08522f586dcf78532.tar.gz
desktop/tint2: Updated for version 0.14.4.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/tint2/doinst.sh')
-rw-r--r--desktop/tint2/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/desktop/tint2/doinst.sh b/desktop/tint2/doinst.sh
index b406deda51..8d631087b2 100644
--- a/desktop/tint2/doinst.sh
+++ b/desktop/tint2/doinst.sh
@@ -16,3 +16,13 @@ config etc/xdg/tint2/tint2rc.new
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