From 2e3c292f14df4f3e734d70b4a46158820028d272 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 20 Jun 2023 17:16:56 -0400 Subject: office/semantik: Fix doinst.sh. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- office/semantik/doinst.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'office/semantik') diff --git a/office/semantik/doinst.sh b/office/semantik/doinst.sh index c820737506..19ad22754d 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 -- cgit v1.2.3