Re: redhat-artwork postinstall script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2005-04-06 at 16:00 +0200, Jacob Kroon wrote:
> I noticed that I had to manually update the 
> /usr/share/icons/<theme>/icon-theme.cache files,
> because they were getting out of date, and this caused unneccesary lag 
> in some programs
> like Firefox. When I first clicked on "Bookmarks", all the gtk icons 
> needed to be stat64():ed. I think I
> have updated redhat-artwork a few times since installing FC4test1, and 
> thus it seems like the rpm
> scripts hasn't updated the iconcaches correctly, perhaps because it 
> isn't using the --force flag ?
> 
> This updates the icon caches:
> 
> for d in /usr/share/icons/*; do gtk-update-icon-cache -f $d; done
> 
> Anyone else experiencing this?
> 

The -f should not be necessary. gtk-update-icon-cache compares the
mtimes of the cache file and the directory it is in to determine if the
cache is outdated. Maybe the redhat-artwork %post forgets to touch the
directory.

Matthias


[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]