Excerpts from James Lee's message of Wed Dec 16 05:27:14 -0500 2009: > > > a way of notifying the apps, eg, Gostscript's Fontmap.GS. > > > please propose something? > > I thought this is what package hooks was for? If not, what I think > they are will do it.
Hooks could do this, but aren't ideally suited to the task. You'd
need to do something like:
prebatch(remove|install|upgrade): Record list of fonts present
postbatch(remove|install|upgrade): Compare current list with previouslist;
trigger font index updates if
difference.
The problems are:
1. The script(s) need to be aware of all different indexes that need
updating.
2. It's not plain pkgadd/pkgrm aware.
Ultimately, class action scripts would be better for this, but since
this whole /usr issue seems so thorny, I'm not sure it will gain
tractaion.
If only Sun hadn't made this such a fundamental flaw. </wishful thinking>
-Ben
--
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302
GPG Key Id: 8E89F6D2; Key Server: pgp.mit.edu
Contact me to arrange for a CAcert assurance meeting.
signature.asc
Description: PGP signature
_______________________________________________ maintainers mailing list [email protected] https://lists.opencsw.org/mailman/listinfo/maintainers
