Re: icon cache scriplet guideline update

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

 



On 20.12.2006 14:43, Rex Dieter wrote:
Callum Lerwick wrote:
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".

Well, ldconfig should probably be started directly, as other packages might want to start using the just installed package in their scripts.

Otherwise agreed, e.g. for the Icon-Cache, scrollkeeeper or stuff like that putting back the actual work to the end of the transaction and running is just once for all freshly installed packages would be very nice and could save a lot of time afaics.

The
individual packages then don't have to worry about it at all.
An ideal solution for a large class of packaging issues, certainly. Anyone have any concrete proposals of how to implement this? (And such discussions would best take place on the fedora-packaging list)

Just wondering if we should solve this completely or in parts directly in rpm...

CU
thl

--
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