1 Sometimes gtk-update-icon-cache and find_newer do not agree if cache modification is necessary.
2 In this case we trust find_newer to avoid calling gtk-update-icon-cache over and over again
4 --- desktop-cache-smf-services-0.2.2/icon-cache/icon-cache.orig
5 +++ desktop-cache-smf-services-0.2.2/icon-cache/icon-cache
7 echo "Icons newer than the cache found in $DIR. Updating the cache."
9 rm -f $DIR/.icon-theme.cache
10 - /usr/bin/gtk-update-icon-cache $DIR
11 + /usr/bin/gtk-update-icon-cache -f $DIR
13 echo "/usr/bin/gtk-update-icon-cache exited with an error while \
14 generating the icon cache for $DIR."
16 echo "Icons newer than the cache found in $DIR. Updating the cache."
18 rm -f $DIR/.icon-theme.cache
19 - /usr/bin/gtk-update-icon-cache $DIR
20 + /usr/bin/gtk-update-icon-cache -f $DIR
22 echo "/usr/bin/gtk-update-icon-cache exited with an error while \
23 generating the icon cache for $DIR."