On Tue, May 27, 2003 at 08:28:55AM +0000, 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.
Won't there be problems if $user installs mozilla-mozgest while running mozilla-firebird and chooses later to purge mozilla-firebird and install plain mozilla instead? > 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? No. Unless you think "dpkg -s" is nicer. I had asked practically the same question on this list some months ago, I wanted to discern inn, inn2 and cnews. Date: Sat, 22 Jun 2002 19:08:00 +0200 From: Andreas Metzler <[EMAIL PROTECTED]> To: debian-mentors@lists.debian.org Message-ID: <[EMAIL PROTECTED]> cu andreas