summaryrefslogtreecommitdiff
path: root/system/fpm2/doinst.sh
diff options
context:
space:
mode:
authorAndrzej Telszewski <atelszewski@gmail.com>2016-07-24 23:09:55 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-07-30 08:28:43 +0700
commitf8e4d24eb4b74ad6125b0f292385e574ff9d9558 (patch)
tree6c42e07a4b7f482025d48e5b859021c88346b27e /system/fpm2/doinst.sh
parent98a69d772e70673835c3c9181487d0a2ce5f4131 (diff)
downloadslackbuilds-f8e4d24eb4b74ad6125b0f292385e574ff9d9558.tar.gz
system/fpm2: New maintainer and some added patches
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/fpm2/doinst.sh')
-rw-r--r--system/fpm2/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/system/fpm2/doinst.sh b/system/fpm2/doinst.sh
index 3857649f50..11813c3101 100644
--- a/system/fpm2/doinst.sh
+++ b/system/fpm2/doinst.sh
@@ -1,3 +1,9 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications &> /dev/null
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