redhat-artwork postinstall script
Matthias Clasen
mclasen at redhat.com
Wed Apr 6 14:33:48 UTC 2005
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
More information about the fedora-test-list
mailing list