Re: icon cache scriplet guideline update

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2006-12-19 at 14:47 -0500, Jesse Keating wrote:
> On Tuesday 19 December 2006 14:30, Dennis Gilmore wrote:
> > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=170335
> > bug has been filed for a long time now.  We need a propper answer  and it
> > is not yet found. it would be much simpler if gnome followed the
> > freedesktop.org spec  and all you needed was to update the directory time
> > stamp.  however as gnome goes further we now have this situation.
> 
> The suggestion of using a --delay and gathering many updates into said --delay 
> seems very sane.  But as stated, no time to work on said feature.  Patches 
> welcome :/

I say this should be taken out of individual specs as much as possible.
There should be a post-transaction script hook in RPM itself, rather
than the package spec, which can handle these things.

Either the the package postinstall script sets some flag somehow that
the script sees, or better yet, the script is provided a list of all
modified/added/removed files, which it can simply grep through, and make
decisions like "Something changed in /usr/share/icons, better update the
cache" or "Something changed in /usr/lib, better run ldconfig". The
individual packages then don't have to worry about it at all.

Centralization good. Duplication bad. Don't Repeat Yourself, Once and
Only Once, etc. Simplification of specs, also good.

Attachment: signature.asc
Description: This is a digitally signed message part

--
Fedora-maintainers mailing list
Fedora-maintainers@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers
--
Fedora-maintainers-readonly mailing list
Fedora-maintainers-readonly@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers-readonly

[Index of Archives]     [Fedora Users]     [Fedora Development]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux