On Fri, Apr 11, 2008 at 01:02:22PM -0600, Thomas Vaughan wrote:
> I know that it's more work, but, in the spirit of the man page---and
> with a view toward the highest standard of quality---you might consider
> implementing in the postinst script the right Bourne shell code to
> implement the following pseudocode, which would take the place of the
> line that you inserted, which always forces removal of old links:
> 
> if upgrading from odccm version < 0.11-3
>   if links are as the old package installed them
>     force removal of old links
>   else if links are not as odccm-0.11-3 would install them
>     complain about potentially bad local modification of links
>     suggest at least temporary manual removal of links
>     administrator might replace his links after installation if need be
>     exit with error from postinst
>   endif
> endif

I've done better. I migrated from CDBS to plain debhelper so the
postinst script can simply be:

http://git.jonnylamb.com/?p=packaging/odccm.git;a=blob;f=debian/postinst;h=b838d41f941e78c

I'll get this updated soon.

Thanks,

-- 
Jonny Lamb, UK                                   [EMAIL PROTECTED]
http://jonnylamb.com                                     GPG: 0x2E039402

Attachment: signature.asc
Description: Digital signature

Reply via email to