summaryrefslogtreecommitdiffstats
path: root/desktop/ccsm/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/ccsm/doinst.sh')
-rw-r--r--desktop/ccsm/doinst.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/desktop/ccsm/doinst.sh b/desktop/ccsm/doinst.sh
index a61bc59590..2786723850 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