#BLURB="Run gtk-update-icon-cache for hicolor theme." # This is needed since XFce adds a few hicolor icons that would # not otherwise be cached. Really, I'm not sure the idea of # caching icons is a good one -- the use of gtk-update-icon-cache # could disappear from future install scripts. for icondir in usr/share/icons/hicolor usr/share/icons ; do if [ -d $icondir ]; then if [ -x usr/bin/gtk-update-icon-cache ]; then chroot . /usr/bin/gtk-update-icon-cache -f -t $icondir 1> /dev/null 2> /dev/null fi fi done