aboutsummaryrefslogtreecommitdiff
path: root/office/semantik
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-06-20 17:16:56 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-06-23 07:48:08 +0700
commit2e3c292f14df4f3e734d70b4a46158820028d272 (patch)
tree50842eb0e5ccb9489ee03d65145eb4f677b9e947 /office/semantik
parentf22221f6ddfe84aa6df96ea7957fe127fd49d935 (diff)
office/semantik: Fix doinst.sh.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/semantik')
-rw-r--r--office/semantik/doinst.sh7
1 files changed, 2 insertions, 5 deletions
diff --git a/office/semantik/doinst.sh b/office/semantik/doinst.sh
index c820737506191..19ad22754d1fc 100644
--- a/office/semantik/doinst.sh
+++ b/office/semantik/doinst.sh
@@ -6,11 +6,8 @@ if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi
-
-
-# Update hicolor theme cache:
-if [ -d usr/share/icons/hicolor ]; then
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
- chroot . /usr/bin/gtk-update-icon-cache -f -t usr/share/icons/hicolor 1> /dev/null 2> /dev/null
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
fi
fi