aboutsummaryrefslogtreecommitdiff
path: root/office/texworks/doinst.sh
diff options
context:
space:
mode:
authorJohannes Schoepfer <slackbuilds@schoepfer.info>2023-02-22 10:26:13 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-02-22 10:26:13 +0700
commit1f6ca2d6b4092f6d220bc8ea6aa2d16f9311a9fe (patch)
tree89dc8a307e3893dc40049f3b70ed77fa26dc2e35 /office/texworks/doinst.sh
parentc597b69092123d6e610449dfef1f593e8e80d394 (diff)
office/texworks: Updated for version 0.6.8.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/texworks/doinst.sh')
-rw-r--r--office/texworks/doinst.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/office/texworks/doinst.sh b/office/texworks/doinst.sh
index 4e8ba7071dea..65c7e2eeb9aa 100644
--- a/office/texworks/doinst.sh
+++ b/office/texworks/doinst.sh
@@ -2,3 +2,8 @@ if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/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 -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi