summaryrefslogtreecommitdiff
path: root/desktop/kde-gtk-config/doinst.sh
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2013-11-22 19:39:16 +0100
committerRobby Workman <rworkman@slackbuilds.org>2013-11-22 17:46:10 -0600
commit5f12909b509b75da2f4f0fb13fda1c7d3e4b52c0 (patch)
tree22414e62d6ca129d9d80742fa13bcc4a622f5144 /desktop/kde-gtk-config/doinst.sh
parent9201749649ea30fca209f388354044d668ce5225 (diff)
downloadslackbuilds-5f12909b509b75da2f4f0fb13fda1c7d3e4b52c0.tar.gz
desktop/kde-gtk-config: Update hicolor icon-cache in doinst.sh.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'desktop/kde-gtk-config/doinst.sh')
-rw-r--r--desktop/kde-gtk-config/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/desktop/kde-gtk-config/doinst.sh b/desktop/kde-gtk-config/doinst.sh
new file mode 100644
index 0000000000..30eb690936
--- /dev/null
+++ b/desktop/kde-gtk-config/doinst.sh
@@ -0,0 +1,6 @@
+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
+