icon cache scriplet guideline update
Rex Dieter
rdieter at math.unl.edu
Tue Dec 19 18:57:40 UTC 2006
Neal Becker wrote:
> On Tuesday 19 December 2006 1:19 pm, Rex Dieter wrote:
>> FYI,
>> The packaging committee passed a new guidelines wrt icon cache scriptlets:
>> http://fedoraproject.org/wiki/PackagingDrafts/ScriptletSnippets/iconcache
>> (pending FESCo/Core-cabal ratification).
>>
>> In short, replace existing scriptlets
>> touch --no-create %{_datadir}/icons/hicolor || :
>> %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
>> with
>> %{_bindir}/xdg-icon-resource forceupdate --theme hicolor || :
> Did you mean replace the 2 lines (1 starting with 'touch' and 1 starting
> with %{_bindir}' with the 1 line shown (starting with %{_bindir})? Or just
> replace the gtk-update-icon... line with the xdg-icon-resource... line?
Yes, intentional. The 'touch' is not needed... that's what
'forceupdate' already does.
-- Rex
More information about the Fedora-maintainers
mailing list