use of gtk-update-icon-cache?

Rex Dieter rdieter at math.unl.edu
Sat Apr 30 13:41:55 UTC 2005


Thorsten Leemhuis wrote:
> I planed this mail for the weekend after a bit more investigation in
> this area, but while on topic I better start now:

> Am Freitag, den 29.04.2005, 11:36 +0200 schrieb F. Kooman:

>>%post
>># update icon themes
>>touch %{_datadir}/icons/hicolor
>>if [ -x /usr/bin/gtk-update-icon-cache ]; then
>>  /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
>>fi

> AFAIK we also need to do this in %post and %postun in every FC4/devel
> extras-package that installs something into "%{_datadir}/icons/*/" so
> the cache files found there. 

IMO, this is getting friggin rediculous adding so much crud in
%%post/%%postun to *so many* packages.  Can't this task be relagated to
a nightly cron job instead (controlled by whatever owns
/usr/bin/gtk-update-icon-cache, of course)?

-- Rex




More information about the fedora-extras-list mailing list