Sorry for the delayed answer, last couple of months were very busy for
me.

On Thu, Feb 18, 2010 at 04:30:16PM -0600, Jason Pepas wrote:
> there appears to be no way to dictate that a file installed by a package  
> must not be part of the system.

You should be able to do the following:

 - create a /etc/cruft/explain/dpkg script which simply runs
   /usr/lib/cruft/explain/dpkg but filters out from its stdout the
   file(s) you deleted from the system. Something like:

   #!/bin/sh
   /usr/lib/cruft/explain/dpkg | egrep -v '^/the/file/you/hate$'

 - create a /etc/cruft/explain/MY_HATED_FILES which echoes to FD 4 the
   paths you don't want to exist. Something like:

   #!/bin/sh
   echo '/the/file/you/hate' >&4
   

Don't forget to chmod+x the scripts.

As documented in the README file, the first script should override
whatever the stock dpkg explain script prints. The latter one should
make sure you get a complaint when the file reappears.

I would be grateful if you could test whether that indeed works and let
me know.

regards,
-- 
Marcin Owsiany <[email protected]>             http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216  FE67 DA2D 0ACA FC5E 3F75  D6F6 3A0D 8AA0 60F4 1216



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to