diff options
Diffstat (limited to 'office/openoffice.org/doinst.sh')
-rw-r--r-- | office/openoffice.org/doinst.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/office/openoffice.org/doinst.sh b/office/openoffice.org/doinst.sh index daaf27f81230f..88ab9f58ff611 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 + |