--- /rofs/usr/sbin/update-icon-caches 2009-04-17 00:54:39.000000000 +0000 +++ /usr/sbin/update-icon-caches 2009-10-06 15:08:00.000000000 +0000 @@ -12,11 +12,9 @@ continue fi if [ -f "$dir"/index.theme ]; then - if [ -f "$dir"/icon-theme.cache ]; then - # The cache already exists, regenerate it - if ! gtk-update-icon-cache --force --quiet "$dir"; then - echo "WARNING: icon cache generation failed for $dir" - fi + # Generate or regenerate the cache + if ! gtk-update-icon-cache --force --quiet "$dir"; then + echo "WARNING: icon cache generation failed for $dir" fi else # No more index.theme, remove the cache if it exists