Index: xdg-utils/scripts/xdg-icon-resource
===================================================================
--- xdg-utils.orig/scripts/xdg-icon-resource	2006-08-29 16:31:02.000000000 +0200
+++ xdg-utils/scripts/xdg-icon-resource	2006-08-29 16:31:17.000000000 +0200
@@ -411,6 +411,8 @@
 
 update_icon_database()
 {
+   [ -f "$1/icon-theme.cache" ] || return
+
    for x in `echo "$PATH:/opt/gnome/bin" | sed 's/:/ /g'`; do
       DEBUG 3 "Checking $x for gtk-update-icon-cache"
       if [ -x $x/gtk-update-icon-cache ] ; then