On 14.02.2012 15:39, Colin Watson wrote:
> Package: system-tools-backends
> Version: 2.10.2-1
> Severity: wishlist
> Tags: patch
> User: ubuntu-de...@lists.ubuntu.com
> Usertags: origin-ubuntu ubuntu-patch precise
> 
> Using 'dpkg-maintscript-helper supports mv_conffile' guards introduces
> unreliability into upgrades; it means that the conffile is moved or not
> depending on whether dpkg happens to be unpacked before
> system-tools-backends.  This seems generally undesirable; it would be
> better to enforce a single code path.  (This is academic for Debian
> because the version of dpkg in squeeze supported
> dpkg-maintscript-helper, hence Severity: wishlist; Ubuntu's last LTS
> release didn't have a sufficient version of dpkg for that which is why I
> care.)
> 
> It would be nice to just use dh_installdeb's support for generating
> dpkg-maintscript-helper commands, which was introduced in debhelper
> 8.1.0.  This would remove duplicate code from your maintainer scripts -
> in fact, you could remove your handwritten postinst entirely.  Here's a
> patch:
> 

Thanks for the patch. Looks good to me.



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to