summaryrefslogtreecommitdiffstats
path: root/office/abiword/doinst.sh
diff options
context:
space:
mode:
author Robby Workman <rworkman@slackbuilds.org>2014-01-30 15:22:06 -0600
committer Robby Workman <rworkman@slackbuilds.org>2014-01-30 17:13:46 -0600
commit4d9d1c2a6f1c607ea96d2a101fb8b61f5b149c94 (patch)
treedf3621a3ece0a0d7b05a375c04cc1d0111d81df2 /office/abiword/doinst.sh
parent481db97cc9998abe8f022040e2324611f5352ea2 (diff)
downloadslackbuilds-4d9d1c2a6f1c607ea96d2a101fb8b61f5b149c94.tar.gz
slackbuilds-4d9d1c2a6f1c607ea96d2a101fb8b61f5b149c94.tar.xz
office/abiword: Fixed icon installation
I missed an upstream bugfix in how/where they install the icon and that caused a bug with no icon being displayed in the menu. Thanks to G.L.N. and Володимир Ященко for the report. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'office/abiword/doinst.sh')
-rw-r--r--office/abiword/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/office/abiword/doinst.sh b/office/abiword/doinst.sh
index e87623941d..a53e92087e 100644
--- a/office/abiword/doinst.sh
+++ b/office/abiword/doinst.sh
@@ -6,3 +6,9 @@ if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database ./usr/share/mime >/dev/null 2>&1
fi
+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
+