rpm installation tests / script tests

Ville Skyttä ville.skytta at iki.fi
Wed Jul 11 20:03:43 UTC 2007


On Wednesday 11 July 2007, Rex Dieter wrote:
> Ville Skyttä wrote:
> > On Wednesday 11 July 2007, Wart wrote:
> >
> > What's the benefit of that "touch" over using the -f/--force argument to
> > gtk-update-icon-cache?  Couldn't the scriptlet be reduced to:
> >
> > if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
> >     %{_bindir}/gtk-update-icon-cache -qf %{_datadir}/icons/hicolor || :
> > fi
>
> if gtk-update-icon-cache is not present, the toplevel timestamp isn't
> updated, as required by the icon-spec.

Ah, I see.  In that case, I think it would be better to rename the snippet in 
Wiki to something more generic as the "touch" serves non-GNOME/GTK desktops 
as well, and add a pointer to the icon theme spec.




More information about the Fedora-maintainers mailing list