Hello developers,

In current dpkg releases, it is possible to add triggers by expressing an 
interest in a directory. Whenever a file is installed or modified in that 
directory, the PostInst script is called and a trigger is able to run. This 
makes it possible, for example, to be triggered whenever a file is installed in 
/usr/lib, so a script can go through all the files there and, for example, run 
some actions on every *.la file found.

However, this is quite impractical if all you're interested in are those *.la 
files. You don't only go through all of /usr/lib (including subdirectories) for 
almost nothing, but also you have a problem whenever suddenly a .la file is 
installed in, say, /opt/foo/lib. Therefore, it would be cool if it were 
possible to add triggers on file name patterns, like "*.la". This is similar to 
what bug #553266[0] proposes; it doesn't want to look at everything in /usr/lib 
when it is just interested in files matching "*.so.*".

My questions: Have you thought about something like this? What do you think 
about it now? Would you accept patches implementing this functionality?

Thanks,
Sjors

[0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=553266

Attachment: PGP.sig
Description: Dit deel van het bericht is digitaal ondertekend

Reply via email to