----- Forwarded message from "Matt T. Proud" <[EMAIL PROTECTED]> -----

From: "Matt T. Proud" <[EMAIL PROTECTED]>
Date: Sat, 26 Aug 2006 21:22:23 -0500 (CDT)
To: Joey Hess <[EMAIL PROTECTED]>
Subject: Re: Patch Submission for Debhelper
Reply-To: [EMAIL PROTECTED]
User-Agent: SquirrelMail/1.4.5

Joey,

I appreciate your reviewing what I have written here; it makes a
contributor feel worthwhile.

Regarding the split between the calls in postinst and preinst, it should
be possible to modify what I have submitted by telling dh_diverts (Or was
it dh_divert?) to look for the presence of another file postinst-diverts,
or something to that effect. If you would like, I could modify my patch to
be more extensible against all of these {post,pre}{inst,rm} possibilities.
Would you like that? Out of curiosity, what would "$1" be under postinst
when the dpkg-divert would be called? I would guess configure. I have to
admit that I do not use postinst as much as I do other maintenance
scripts. If I were to make my patch more extensible, could it be a
candidate for inclusion?

Again, thank you for taking your time.

Best,

Matt

> Matt T. Proud wrote:
>> Please let me know what you think. If it seems unlikely for you to
>> incorporate this, please tell me; but it would certainly make my life a
>> lot easier if you were to, as that would remove my need for maintaining
>> a
>> custom , in-house version of Debhelper to use with my organization's
>> development tool set.
>
> Thanks for the contribution. I'm suprised noone has filed a bug before
> asking for diversion support in debhelper.
>
> The only problem I can see is that the choice to run dpkg-divert in the
> preinst seems a bit arbitrary. About half the packages using dpkg-divert
> do use the preinst, the other half add the diversion in the postinst.
> I'm not sure if there's one choice that works well in all situations.
>
> --
> see shy jo
>



----- End forwarded message -----

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to