On Mon, May 26, 2003 at 10:42:23AM -0300, Leo Costela Antunes wrote: > 'dpkg -l <package-name>' has the official answer. Of course the > package _might_ have been removed manually, but in that case the user > has already messed up with all infrastructure we care to provide =] I > belive this method should be enough.
This is vague memory, but there was a conversation on IRC a few weeks back in which it was observed that using 'dpkg -l' from a postinst (i.e. from within dpkg) was potentially risky. I'd stick to looking for files myself. Cheers, -- Colin Watson [EMAIL PROTECTED]

