Hey Joey, > Yes, and if all the work is done by dpkg-maintscript-helper anyway, > I tend to feel that adding this special interface to use it does not > actually make anything simpler. So it could just document that it needs > to be used and point at dh_installdeb's support for maintscript. I'm not sure I agree: If I remember correctly, this requires adding the dpkg-maintscript-helper call to three different maintainer scripts (preinst, postinst, postrm), with identical arguments. Especially when a package does not have all of these scripts yet (like the package I'd use this for), this is quite some work, duplication and complexity that I wouldn't mind hiding in debhelper.
There still remains the need to modify the packages' Pre-Depends and Build-Depends, but that since packages will always have a control file, adding those is way less intrusive and there's only a single spot to make the changes. Ideally, you'd automatically add the Pre-Depends, but I don't think there's any way to do that currently. Does that make sense? Gr. Matthijs
signature.asc
Description: Digital signature