summaryrefslogtreecommitdiff
path: root/office/openoffice.org/doinst.sh
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-05-11 22:26:11 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-11 22:26:11 +0200
commitc35e6fbc3ac90cf92a75de773a558a0112551ad2 (patch)
tree4feaa80c51bd42d8f058410ac1a2a60fd4686305 /office/openoffice.org/doinst.sh
parent4b2e7fa126ce80cef59dfd181672a7a4b60318ac (diff)
downloadslackbuilds-c35e6fbc3ac90cf92a75de773a558a0112551ad2.tar.gz
office/openoffice.org: Updated for version 3.0.0
Diffstat (limited to 'office/openoffice.org/doinst.sh')
-rw-r--r--office/openoffice.org/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/office/openoffice.org/doinst.sh b/office/openoffice.org/doinst.sh
index daaf27f812..88ab9f58ff 100644
--- a/office/openoffice.org/doinst.sh
+++ b/office/openoffice.org/doinst.sh
@@ -5,3 +5,12 @@ fi
if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi
+
+if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ for theme in gnome locolor hicolor ; do
+ if [ -e usr/share/icons/$theme/icon-theme.cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/$theme >/dev/null 2>&1
+ fi
+ done
+fi
+