Bug#840682: dh-exec --with=subst run also strip and filter command

2022-07-11 Thread Craig Small
On Thu, 13 Oct 2016 21:31:38 +0200 Bastien ROUCARIES <
roucaries.bast...@gmail.com> wrote:
> > dh-exec --with=subst --no-act
> /usr/lib/dh-exec/dh-exec-filter | /usr/lib/dh-exec/dh-exec-subst |
> /usr/lib/dh-exec/dh-exec-strip [input: {0, NULL}, output: {0, NULL}]
>
> instead of
> /usr/lib/dh-exec/dh-exec-subst  [input: {0, NULL}, output: {0, NULL}]
Hi,
Apologies for the delay, I have just took over maintaining dh-exec.

The trick we have here is a lot of packages have now expected that the flag
works this way[1].
Looking at the code, it adds filter, then whatever --with specifies, or
subst,install then strip.

That means the current packages specify install, but mean
filter,install,strip. If I make this change, then it will only do install.
I think only doing install is the right answer, but not sure if there is a
way of doing this but not breaking everything.

 - Craig

1: https://codesearch.debian.net/search?q=dh-exec+--with%3D=1


Bug#840682: dh-exec --with=subst run also strip and filter command

2016-10-13 Thread Bastien ROUCARIES
Package: dh-exec
Version: 0.23
Severity: important

dh-exec --with=subst --no-act
/usr/lib/dh-exec/dh-exec-filter | /usr/lib/dh-exec/dh-exec-subst |
/usr/lib/dh-exec/dh-exec-strip [input: {0, NULL}, output: {0, NULL}]

instead of
/usr/lib/dh-exec/dh-exec-subst  [input: {0, NULL}, output: {0, NULL}]