On Wed, 04 Apr 2012, Josh Triplett wrote:
> > In some way we already do:
> > $ sudo dpkg-trigger --no-await /usr/local/man
> > $ sudo dpkg --configure -a
> > Processing triggers for man-db ...
> > 
> > But there's easy way to find out all the file triggers that match
> > /usr/local/something.

I meant "there's no easy way".

> running spuriously, triggering *everything* seems acceptable for a first
> pass.  A quick (untested) prototype version:
> 
> find /usr/local -exec dpkg-trigger --no-await '{}' \;

dpkg-trigger will only accept names of existing triggers. That's why I was
telling that you would need a way to extract a list of file triggers.

Then you can easily match file triggers with files installed in
/usr/local/.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Pre-order a copy of the Debian Administrator's Handbook and help
liberate it: http://debian-handbook.info/liberation/



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to