Bug#659885: system-tools-backends: use dh_installdeb maintscript support

Michael Biebl biebl at debian.org
Tue Feb 14 15:28:56 UTC 2012


On 14.02.2012 15:39, Colin Watson wrote:
> Package: system-tools-backends
> Version: 2.10.2-1
> Severity: wishlist
> Tags: patch
> User: ubuntu-devel at 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?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20120214/74cb5b9f/attachment.pgp>


More information about the pkg-gnome-maintainers mailing list