summaryrefslogtreecommitdiff
path: root/system/lxterminal/doinst.sh
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2016-12-21 21:31:24 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-12-24 07:34:01 +0700
commit110e10265160707af9bef2abd7ff2083d8a8cdd5 (patch)
tree63fc74cf5a8c580d3e8796dcea6ae8ea7b4f1b2e /system/lxterminal/doinst.sh
parent516179ff0a24edb244265ee0ef36ebaf57896c62 (diff)
downloadslackbuilds-110e10265160707af9bef2abd7ff2083d8a8cdd5.tar.gz
system/lxterminal: Updated for version 0.3.0.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/lxterminal/doinst.sh')
-rw-r--r--system/lxterminal/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/system/lxterminal/doinst.sh b/system/lxterminal/doinst.sh
index 5fb28930db..3e5691a052 100644
--- a/system/lxterminal/doinst.sh
+++ b/system/lxterminal/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 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 usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi