[Fedora-packaging] Re: Suggested ScriptletSnippets (icon cache) changes

Bill Nottingham notting at redhat.com
Wed Jan 28 16:22:20 UTC 2009


Enrico Scholz (enrico.scholz at informatik.tu-chemnitz.de) said: 
> | %postun
> | touch --no-create %{_datadir}/icons/hicolor &>/dev/null
> | 
> | %posttrans
> | gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
> 
> ?  All relevant Fedora releases should understand %posttrans and this
> speeds up things significantly.

As posttrans isn't collated into a single run, it just moves the total
of calls from point A to point B, and therefore would theoretically
only speed things up via cache effects.

Bill




More information about the Fedora-packaging mailing list