From 0357aff5fda63ed98eebb52cf1af77d79b5f0613 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 17 Jun 2023 16:43:42 -0400 Subject: desktop/ccsm: Fix doinst.sh. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- desktop/ccsm/doinst.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'desktop') diff --git a/desktop/ccsm/doinst.sh b/desktop/ccsm/doinst.sh index a61bc59590f18..2786723850a65 100644 --- a/desktop/ccsm/doinst.sh +++ b/desktop/ccsm/doinst.sh @@ -1,5 +1,7 @@ -if [ -x /usr/bin/gtk-update-icon-cache ]; then - /usr/bin/gtk-update-icon-cache -f -t usr/share/icons/hicolor >/dev/null 2>&1 +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 if [ -x /usr/bin/update-desktop-database ]; then -- cgit v1.2.3