Custom Query (1145 matches)


Show under each result:

Results (199 - 201 of 1145)

Ticket Resolution Summary Owner Reporter
#1318 fixed config-package-dev 5.0 does not work with transform sources jdreed

Reported by jdreed, 11 years ago.

$ cat debian/debathena-kerberos-config.transform 
/etc/krb5.conf.debathena </usr/share/kerberos-configs/krb5.conf.template debian/transform_krb5.conf.debathena

Results in: diversion of /usr/share/kerberos-configs/krb5.conf.template to /usr/share/kerberos-configs/krb5.conf.template.debathena-orig by debathena-kerberos-config

Because of this line:

push @displacefiles, $source;

Here's a patch:

diff --git a/dh_configpackage b/dh_configpackage
index fcc3abe..942766f 100755
--- a/dh_configpackage
+++ b/dh_configpackage
@@ -392,7 +392,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
             doit("install", "-d", $destdir);
         complex_doit(@$line, "<", $source, ">", "$tmp/$file");
-        push @displacefiles, $source;
+        push @displacefiles, $file;
     # Add code to postinst to add/remove diversions as appropriate
#1049 fixed config-package-dev can’t transform non-conffiles files in Multi-Arch: same packages andersk

Reported by andersk, 13 years ago.


 Patch (completely untested).

#388 fixed config-package-dev maintainer scripts don’t undivert on deconfigure andersk

Reported by andersk, 15 years ago.


We currently undivert on prerm when [ "$1" = "remove" ]. This should probably be [ "$1" != "upgrade" ], so as to include the deconfigure case as well.

More generally, we should check that we handle  all these cases correctly.

Note: See TracQuery for help on using queries.