Matthew Palmer wrote:
> On Tue, Oct 04, 2005 at 01:59:52PM +1000, Adam Conrad wrote:
> 
>>Matthew Palmer wrote:
>>
>>>>The postrm runs /usr/sbin/modules-config. since libapache-mod-auth-mysql
>>>>depends on apache-common which owns this, this is probably fine. However
>>>>/usr/sbin/modules-config fails if apache is not installed
>>
>>I just did "apt-get install libapache-mod-auth-mysql" on a clean system
>>with no apache variants install (no /etc/apache{,-ssl,-perl} either),
>>and the postinst ran fine.  What is the actual failure you're seeing
>>here that you attributed to "failing because apache isn't installed"?
> 
> The problem was reported to occur on package removal, not installation.

Thanks for pointing out that I read too fast. :)  postrm turned into
postinst in my head.   You could just duplicate the logic you use in
your postinst (which only installs for each flavour if the modules.conf
exists), so that you only remove in the same cases.

In fact, that would seem necessary anyway, since currently you enable
for (up to) three flavours, but only disable for one.

... Adam




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

Reply via email to