> On 07/04/13 18:12, Andrew Spiers wrote:
> > hacked the postinst script to set the permission I wanted, so bind9
> > installs properly.
> >
> > diff --git a/debian/bind9.postinst b/debian/bind9.postinst
> 
> I find myself having to make hacks like that all the time. The Debian
> pre/postinst scripts are notoriously fragile, particularly when working
> within chroots or if it tries to talk to something via D-Bus.
> 
> Often it's faster to put a "exit 0" up the top of the pre/postinst and
> then manually fix up what's wrong, than to decipher the horrible scripts.
> 
> Working around problems in packaging is an incredibly unrewarding
> experience.
> 

I've had to do that before too. It would be nice if there was a 
--force-preinit-success or --force-postinit-success or something.

James
_______________________________________________
luv-main mailing list
[email protected]
http://lists.luv.asn.au/listinfo/luv-main

Reply via email to