Ticket #1318 (closed defect: fixed)
config-package-dev 5.0 does not work with transform sources
Reported by: | jdreed | Owned by: | |
---|---|---|---|
Priority: | blocker | Milestone: | Current Semester |
Component: | -- | Keywords: | |
Cc: | Fixed in version: | ||
Upstream bug: |
Description
$ 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
Change History
Note: See
TracTickets for help on using
tickets.
Oops. Feel free to commit that to git. I can upload a 5.1 with that and anything other pending changes (not sure if there are any) this weekend.