summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-09 18:41:27 +0700
committerDavid Spencer <idlemoor@slackbuilds.org>2017-01-09 20:18:25 +0000
commit5ea0665dac10bb47fa7cbe08a54265fe227bacfa (patch)
treea7fe9b00cd388ad8ecc875c563490c26cc62b22a
parentb51afe7867da251acaa0fa80e62c63121ec61320 (diff)
downloadslackbuilds-5ea0665dac10bb47fa7cbe08a54265fe227bacfa.tar.gz
office/libreoffice: Update doinst.sh.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-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