'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. Cheers On Ter, 2003-05-27 at 05:28, Alan Woodland wrote: > For the next version of a package which I currently have sponsored in > Debian (mozilla-mozgest) I want to add support for mozilla-firebird > (preliminary packages are avalible from > http://people.debian.org/~eric/debian/i386) and mozilla-snapshot. The > problem is that in order to do this I need to do different things for > each of the browsers in postinst and postrm. Basicaly what I'd like to > know is if theres a nicer way to test if a package is installed than > just testing the existance of files that the package would create if it > was installed? > > Thanks, > Alan -- Leo Costela <costelaaa@ig.com.br> | <costela@debian.org> | <costela@pop.com.br> Key Fingerprint: 8AE6 CDFF 6535 192F B5B6 5921 2262 D36F 7ADF 9466 "you must cut down the mightiest tree in the forest... with... a herring!"
Attachment:
signature.asc
Description: This is a digitally signed message part