summaryrefslogtreecommitdiffstats
path: root/office/libreoffice
diff options
context:
space:
mode:
Diffstat (limited to 'office/libreoffice')
-rw-r--r--office/libreoffice/doinst.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/office/libreoffice/doinst.sh b/office/libreoffice/doinst.sh
index 88ab9f58ff..14bfd4aa3d 100644
--- a/office/libreoffice/doinst.sh
+++ b/office/libreoffice/doinst.sh
@@ -6,10 +6,10 @@ 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
+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
+ if [ -e usr/share/icons/$theme/icon-theme.cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/$theme >/dev/null 2>&1
fi
done
fi