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

Rex Dieter rdieter at math.unl.edu
Wed Jan 28 16:25:44 UTC 2009


Bill Nottingham wrote:
> 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.

posttrans could be a win if the idea from
https://bugzilla.redhat.com/show_bug.cgi?id=170335#c33
ever came to fruition.

-- Rex




More information about the Fedora-packaging mailing list